mirror of
https://github.com/Seldaek/monolog.git
synced 2025-10-22 09:06:10 +02:00
fix normalizing exception trace
The trace does not include the file / line at which the exception is thrown
This commit is contained in:
@@ -101,7 +101,6 @@ class NormalizerFormatter implements FormatterInterface
|
||||
);
|
||||
|
||||
$trace = $e->getTrace();
|
||||
array_shift($trace);
|
||||
foreach ($trace as $frame) {
|
||||
if (isset($frame['file'])) {
|
||||
$data['trace'][] = $frame['file'].':'.$frame['line'];
|
||||
|
Reference in New Issue
Block a user