Skip to content

Commit

Permalink
Fix string interpolation of newline
Browse files Browse the repository at this point in the history
  • Loading branch information
Seldaek committed Oct 27, 2023
1 parent 1b93764 commit 70e1c2f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Monolog/Formatter/LineFormatter.php
Original file line number Diff line number Diff line change
Expand Up @@ -155,7 +155,7 @@ protected function normalizeException(\Throwable $e, int $depth = 0): string
do {
$depth++;
if ($depth > $this->maxNormalizeDepth) {
$str .= '\n[previous exception] Over ' . $this->maxNormalizeDepth . ' levels deep, aborting normalization';
$str .= "\n[previous exception] Over " . $this->maxNormalizeDepth . ' levels deep, aborting normalization';
break;
}

Expand Down

0 comments on commit 70e1c2f

Please sign in to comment.