isHttpException($exception)) { return $this->renderHttpException($exception); } else { return parent::render($request, $exception); } } }