We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 55ab7c5 commit 84db08bCopy full SHA for 84db08b
src/Logs/LaravelLog.php
@@ -193,6 +193,10 @@ protected function getJsonStringsFromFullText(): array
193
194
protected function filterStackTrace(string $text): string
195
{
196
+ // Normalize line endings for cross-platform compatibility
197
+ $text = str_replace("\r\n", "\n", $text);
198
+ $text = str_replace("\r", "\n", $text);
199
+
200
$lines = explode("\n", $text);
201
$filteredLines = [];
202
$emptyLineCharacter = ' ...';
0 commit comments