Skip to content

Commit b587362

Browse files
committed
Explode on \n instead of PHP_EOL.
Signed-off-by: Jason Lewis <[email protected]>
1 parent 077ce97 commit b587362

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Event/ExceptionHandler.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ public function handle(Exception $exception)
7676
'line' => $exception->getLine(),
7777
'file' => $exception->getFile(),
7878
'class' => get_class($exception),
79-
'trace' => explode(PHP_EOL, $exception->getTraceAsString())
79+
'trace' => explode("\n", $exception->getTraceAsString())
8080
];
8181
}
8282

0 commit comments

Comments
 (0)