isHttpException($e)) { return $this->renderHttpException($e); } else { return parent::render($request, $e); } } /** * Report or log an exception. * * This is a great spot to send exceptions to Sentry, Bugsnag, etc. * * @param \Exception $e * * @return void */ public function report(Exception $e) { /** @noinspection PhpInconsistentReturnPointsInspection */ return parent::report($e); } }