From: Art4 Date: Thu, 10 Apr 2025 11:18:38 +0000 (+0000) Subject: log uncaught exceptions as critical X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=7bfd42ac55515df67e5c1bdcb6827906032ae9bf;p=friendica.git log uncaught exceptions as critical --- diff --git a/src/Core/Logger/Handler/ErrorHandler.php b/src/Core/Logger/Handler/ErrorHandler.php index 2d311b5150..6d47674581 100644 --- a/src/Core/Logger/Handler/ErrorHandler.php +++ b/src/Core/Logger/Handler/ErrorHandler.php @@ -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;