diff --git a/src/platforms/php/guides/laravel/other-versions/lumen.mdx b/src/platforms/php/guides/laravel/other-versions/lumen.mdx index de7c01b780496..8fc800f0f283d 100644 --- a/src/platforms/php/guides/laravel/other-versions/lumen.mdx +++ b/src/platforms/php/guides/laravel/other-versions/lumen.mdx @@ -33,7 +33,7 @@ require __DIR__ . '/../app/Http/routes.php'; Add Sentry reporting to `app/Exceptions/Handler.php`: ```php {filename:app/Exceptions/Handler.php} -public function report(Exception $exception) +public function report(Throwable $exception) { if (app()->bound('sentry') && $this->shouldReport($exception)) { app('sentry')->captureException($exception);