bound('sentry') && $this->shouldReport($throwable)) { app('sentry')->captureException($throwable); } parent::report($throwable); } /** * Render an exception into an HTTP response. * * @param Request $request * @param Throwable $throwable * @return Response * @throws Throwable */ public function render($request, Throwable $throwable): Response { return parent::render($request, $throwable); } }