1
0
mirror of https://github.com/Seldaek/monolog.git synced 2025-08-08 06:06:40 +02:00

updated message to include even more useful information

This was suggested by @kostiklv on github
This commit is contained in:
Patrick Forget
2014-04-11 18:30:07 -04:00
parent 4a5a150d92
commit 694fbb5923

View File

@@ -123,7 +123,7 @@ class ErrorHandler
{
$this->logger->log(
$this->uncaughtExceptionLevel === null ? LogLevel::ERROR : $this->uncaughtExceptionLevel,
$e->getMessage(),
sprintf('Uncaught Exception %s: "%s" at %s line %s', get_class($e), $e->getMessage(), $e->getFile(), $e->getLine()),
array('exception' => $e)
);