[WebBundle] added a trace of uncaught exception with error_log() in prod environment
This commit is contained in:
parent
52acc423d0
commit
9052418f6e
|
@ -73,6 +73,8 @@ class ExceptionHandler
|
|||
try
|
||||
{
|
||||
$response = $event->getSubject()->handleRaw($request, false);
|
||||
|
||||
error_log(sprintf('%s: %s', get_class($exception), $exception->getMessage()));
|
||||
}
|
||||
catch (\Exception $e)
|
||||
{
|
||||
|
|
Reference in New Issue