[FrameworkBundle] added an error message when an exception is thrown when handling another exception

This commit is contained in:
Fabien Potencier 2010-08-11 23:15:17 +02:00
parent 625d0ab322
commit 50617e1acb

View File

@ -72,6 +72,8 @@ class ExceptionListener
error_log(sprintf('%s: %s', get_class($exception), $exception->getMessage()));
} catch (\Exception $e) {
error_log(sprintf('Exception thrown when handling an exception (%s: %s)', get_class($e), $e->getMessage()));
return false;
}