1
0
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:
Jordi Boggiano
2014-12-28 16:40:10 +00:00
3 changed files with 5 additions and 1 deletions

View File

@@ -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);
}