diff --git a/src/Formatter.php b/src/Formatter.php index ae85efe..a76fb0d 100644 --- a/src/Formatter.php +++ b/src/Formatter.php @@ -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} $data */ - $data = parent::normalizeException($e); + $data = parent::normalizeException($e, $depth); $exceptionProviders = $this->exceptionContextProviderMap[\get_class($e)] ?? [];