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

Adds exception codes to the exception data in NormalizeFormatter

This commit is contained in:
Mike Sherov
2014-10-23 15:33:11 -04:00
parent d0a9acbad0
commit f5fe05c27f
3 changed files with 5 additions and 1 deletions

View File

@@ -100,6 +100,7 @@ class NormalizerFormatter implements FormatterInterface
$data = array(
'class' => get_class($e),
'message' => $e->getMessage(),
'code' => $e->getCode(),
'file' => $e->getFile().':'.$e->getLine(),
);