Skip to content

Commit

Permalink
Report method removed from Handler class
Browse files Browse the repository at this point in the history
  • Loading branch information
sdebacker committed Mar 20, 2023
1 parent 67cdd0a commit d847d76
Showing 1 changed file with 0 additions and 14 deletions.
14 changes: 0 additions & 14 deletions app/Exceptions/Handler.php
Original file line number Diff line number Diff line change
Expand Up @@ -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.
*
Expand Down

0 comments on commit d847d76

Please sign in to comment.