From d847d7669cd34765fc4c27dde0412aafc7e829c5 Mon Sep 17 00:00:00 2001 From: Samuel De Backer Date: Mon, 20 Mar 2023 23:08:43 +0100 Subject: [PATCH] Report method removed from Handler class --- app/Exceptions/Handler.php | 14 -------------- 1 file changed, 14 deletions(-) diff --git a/app/Exceptions/Handler.php b/app/Exceptions/Handler.php index 89056817..c4d70453 100644 --- a/app/Exceptions/Handler.php +++ b/app/Exceptions/Handler.php @@ -34,20 +34,6 @@ class Handler extends ExceptionHandler 'password_confirmation', ]; - /** - * Report or log an exception. - * - * @throws \Throwable - */ - public function report(\Throwable $exception) - { - if (app()->bound('sentry') && $this->shouldReport($exception)) { - app('sentry')->captureException($exception); - } - - parent::report($exception); - } - /** * Get the view used to render HTTP exceptions. *