log uncaught exceptions as critical
This commit is contained in:
parent
507897eec1
commit
7bfd42ac55
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue