Skip to content

Commit

Permalink
Add missed depth
Browse files Browse the repository at this point in the history
  • Loading branch information
GDXbsv committed Jul 13, 2022
1 parent c63bb28 commit ebbf621
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Formatter.php
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ protected function normalize($data, int $depth = 0)
protected function normalizeException(\Throwable $e, int $depth = 0)
{
/** @var array{message: string, context?: array<string, mixed>} $data */
$data = parent::normalizeException($e);
$data = parent::normalizeException($e, $depth);

$exceptionProviders = $this->exceptionContextProviderMap[\get_class($e)] ?? [];

Expand Down

0 comments on commit ebbf621

Please sign in to comment.