mirror of
https://github.com/friendica/friendica
synced 2025-04-29 00:16:38 +02:00
Merge pull request #14880 from Art4/log-exceptions-as-critical
Log uncaught exceptions as critical
This commit is contained in:
commit
83f561ea49
1 changed files with 1 additions and 1 deletions
|
@ -208,7 +208,7 @@ class ErrorHandler
|
|||
*/
|
||||
private function handleException(Throwable $e): void
|
||||
{
|
||||
$level = LogLevel::ERROR;
|
||||
$level = LogLevel::CRITICAL;
|
||||
foreach ($this->uncaughtExceptionLevelMap as $class => $candidate) {
|
||||
if ($e instanceof $class) {
|
||||
$level = $candidate;
|
||||
|
|
Loading…
Add table
Reference in a new issue