Browse Source

Simplify exception handler.

Taylor Otwell 9 years ago
parent
commit
35acc5408c
1 changed files with 1 additions and 8 deletions
  1. 1 8
      app/Exceptions/Handler.php

+ 1 - 8
app/Exceptions/Handler.php

@@ -36,14 +36,7 @@ class Handler extends ExceptionHandler {
 	 */
 	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);
 	}
 
 }