@@ -153,7 +153,7 @@ |
||
153 | 153 | * const NOTICE = 'notice'; // Normal but significant events. |
154 | 154 | * const INFO = 'info'; // Interesting events. User logs in, SQL logs. |
155 | 155 | * const DEBUG = 'debug'; // Detailed debug information. |
156 | - */ |
|
156 | + */ |
|
157 | 157 | private static function map_error_level_to_log_level($level): string |
158 | 158 | { |
159 | 159 | // http://php.net/manual/en/errorfunc.constants.php |
@@ -72,8 +72,7 @@ |
||
72 | 72 | $this->alert(self::USER_EXCEPTION, [$throwable]); |
73 | 73 | } elseif ($throwable instanceof \Error) { |
74 | 74 | $this->notice(self::INTERNAL_ERROR, [$throwable]); |
75 | - } |
|
76 | - else { |
|
75 | + } else { |
|
77 | 76 | $this->critical('Caught an unknown Throwable. This breaks everything.', [$throwable]); |
78 | 77 | } |
79 | 78 | } |