From 35acc5408c4b6ad73c95f3bb5780232a5be735d5 Mon Sep 17 00:00:00 2001 From: Taylor Otwell Date: Fri, 6 Feb 2015 13:37:48 -0600 Subject: [PATCH] Simplify exception handler. --- app/Exceptions/Handler.php | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/app/Exceptions/Handler.php b/app/Exceptions/Handler.php index ca5215b3..c7a75d35 100644 --- a/app/Exceptions/Handler.php +++ b/app/Exceptions/Handler.php @@ -36,14 +36,7 @@ public function report(Exception $e) */ public function render($request, Exception $e) { - if ($this->isHttpException($e)) - { - return $this->renderHttpException($e); - } - else - { - return parent::render($request, $e); - } + return parent::render($request, $e); } }