Commit 35acc540 authored by Taylor Otwell's avatar Taylor Otwell

Simplify exception handler.

parent da60de89
...@@ -36,14 +36,7 @@ class Handler extends ExceptionHandler { ...@@ -36,14 +36,7 @@ class Handler extends ExceptionHandler {
*/ */
public function render($request, Exception $e) public function render($request, Exception $e)
{ {
if ($this->isHttpException($e)) return parent::render($request, $e);
{
return $this->renderHttpException($e);
}
else
{
return parent::render($request, $e);
}
} }
} }
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment