mirror of
https://github.com/Seldaek/monolog.git
synced 2025-08-08 06:06:40 +02:00
Merge pull request #353 from patforg/master
When handling exception log exception message rather generic message
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,
|
||||||
'Uncaught exception',
|
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