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:
@@ -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(),
|
||||
);
|
||||
|
||||
|
Reference in New Issue
Block a user