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