-
-
Notifications
You must be signed in to change notification settings - Fork 201
Closed
Description
I'm unable to monitor my 'QueryException' through sentry. As per the docs, below is my code I placed in App\Exceptions\Handler.php@report
public function report(Exception $exception)
{
if ($this->shouldReport($exception)) {
app('sentry')->captureException($exception);
}
parent::report($exception);
}All the other exceptions like 500, 404 are working fine, but QueryException is not getting caught. Am I missing something here?
Thanks
Metadata
Metadata
Assignees
Labels
No labels