Skip to content

Commit 35acc54

Browse files
committed
Simplify exception handler.
1 parent da60de8 commit 35acc54

File tree

1 file changed

+1
-8
lines changed

1 file changed

+1
-8
lines changed

app/Exceptions/Handler.php

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -36,14 +36,7 @@ public function report(Exception $e)
3636
*/
3737
public function render($request, Exception $e)
3838
{
39-
if ($this->isHttpException($e))
40-
{
41-
return $this->renderHttpException($e);
42-
}
43-
else
44-
{
45-
return parent::render($request, $e);
46-
}
39+
return parent::render($request, $e);
4740
}
4841

4942
}

0 commit comments

Comments
 (0)