mirror of
https://github.com/Seldaek/monolog.git
synced 2025-10-19 23:56:17 +02:00
Merge pull request #440 from mikesherov/exceptionCodes
Adds exception codes to the exception data in NormalizeFormatter
This commit is contained in:
@@ -66,7 +66,8 @@ class NormalizerFormatterTest extends \PHPUnit_Framework_TestCase
|
||||
'exception' => array(
|
||||
'class' => get_class($e2),
|
||||
'message' => $e2->getMessage(),
|
||||
'file' => $e2->getFile().':'.$e2->getLine(),
|
||||
'code' => $e2->getCode(),
|
||||
'file' => $e2->getFile().':'.$e2->getLine(),
|
||||
)
|
||||
), $formatted);
|
||||
}
|
||||
|
Reference in New Issue
Block a user