Closed
Description
Symfony version(s) affected: 4.4.x-dev 8853c2c
Description
On any exception another exception is thrown about using ErrorException as array
How to reproduce
throw any exception
Possible Solution
if (($exception = $log['context']['exception'] ?? null) && $exception instanceof ErrorException) {
$severity = $log['context']['exception']->getSeverity();
} else {
$severity = $log['context']['exception']['severity'] ?? false;
}