[WebBundle] added a trace of uncaught exception with error_log() in prod environment

This commit is contained in:
Fabien Potencier 2010-04-25 13:15:26 +02:00
parent 52acc423d0
commit 9052418f6e
1 changed files with 2 additions and 0 deletions

View File

@ -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)
{