mirror of
https://github.com/Seldaek/monolog.git
synced 2025-08-08 14:16:42 +02:00
updated message to include even more useful information
This was suggested by @kostiklv on github
This commit is contained in:
@@ -123,7 +123,7 @@ class ErrorHandler
|
|||||||
{
|
{
|
||||||
$this->logger->log(
|
$this->logger->log(
|
||||||
$this->uncaughtExceptionLevel === null ? LogLevel::ERROR : $this->uncaughtExceptionLevel,
|
$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)
|
array('exception' => $e)
|
||||||
);
|
);
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user