[FrameworkBundle] changed the ExceptionListener to re-thrown an exception when there is an exception thrown during processing
This commit is contained in:
parent
6b5c3d05bd
commit
155b120d92
@ -82,7 +82,8 @@ class ExceptionListener
|
||||
$this->logger->err(sprintf('Exception thrown when handling an exception (%s: %s)', get_class($e), $e->getMessage()));
|
||||
}
|
||||
|
||||
return false;
|
||||
// re-throw the exception as this is a catch-all
|
||||
throw new \RuntimeException(sprintf('Exception thrown when handling an exception.', 0, $e));
|
||||
}
|
||||
|
||||
$event->setReturnValue($response);
|
||||
|
Reference in New Issue
Block a user