@@ -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 |
@@ -62,8 +62,7 @@ |
||
| 62 | 62 | $lad->alert(self::USER_EXCEPTION, [$throwable]); |
| 63 | 63 | } elseif ($throwable instanceof \Error) { |
| 64 | 64 | $lad->notice(self::INTERNAL_ERROR, [$throwable]); |
| 65 | - } |
|
| 66 | - else { |
|
| 65 | + } else { |
|
| 67 | 66 | $lad->critical('Caught an unknown Throwable. This breaks everything.', [$throwable]); |
| 68 | 67 | } |
| 69 | 68 | } |