Merge branch 'develop' into eventdispatcher-part3

This commit is contained in:
Art4 2025-04-10 14:37:40 +00:00
commit 531a47f7cb

View file

@ -208,7 +208,7 @@ class ErrorHandler
*/ */
private function handleException(Throwable $e): void private function handleException(Throwable $e): void
{ {
$level = LogLevel::ERROR; $level = LogLevel::CRITICAL;
foreach ($this->uncaughtExceptionLevelMap as $class => $candidate) { foreach ($this->uncaughtExceptionLevelMap as $class => $candidate) {
if ($e instanceof $class) { if ($e instanceof $class) {
$level = $candidate; $level = $candidate;