mirror of
https://github.com/friendica/friendica
synced 2025-04-22 11:10:11 +00:00
Individual callstacks are removed from the logger
This commit is contained in:
parent
d05fbe6e45
commit
e4a37f344e
36 changed files with 66 additions and 86 deletions
|
@ -29,7 +29,6 @@ use Friendica\Content\Widget;
|
|||
use Friendica\Core\Logger;
|
||||
use Friendica\Core\Protocol;
|
||||
use Friendica\Core\Renderer;
|
||||
use Friendica\Core\System;
|
||||
use Friendica\Core\Theme;
|
||||
use Friendica\Core\Worker;
|
||||
use Friendica\Database\DBA;
|
||||
|
@ -140,7 +139,7 @@ class Contact extends BaseModule
|
|||
try {
|
||||
UpdateContact::add(Worker::PRIORITY_HIGH, $contact_id);
|
||||
} catch (\InvalidArgumentException $e) {
|
||||
Logger::notice($e->getMessage(), ['contact' => $contact, 'callstack' => System::callstack()]);
|
||||
Logger::notice($e->getMessage(), ['contact' => $contact]);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -138,7 +138,6 @@ class HTTPException
|
|||
'code' => $e->getCode(),
|
||||
'description' => $e->getDescription(),
|
||||
'query' => $this->args->getQueryString(),
|
||||
'callstack' => System::callstack(20),
|
||||
'method' => $this->args->getMethod(),
|
||||
'agent' => $this->server['HTTP_USER_AGENT'] ?? ''
|
||||
]);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue