]> git.mxchange.org Git - friendica.git/commitdiff
log uncaught exceptions as critical
authorArt4 <art4@wlabs.de>
Thu, 10 Apr 2025 11:18:38 +0000 (11:18 +0000)
committerArt4 <art4@wlabs.de>
Thu, 10 Apr 2025 11:18:38 +0000 (11:18 +0000)
src/Core/Logger/Handler/ErrorHandler.php

index 2d311b51508f5b92cbc64ab690e971191d3d79df..6d47674581eb9e221ec94940b079ee9ceae85d4a 100644 (file)
@@ -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;