From 68738b50150ed2268b2c8110fa3317be5c97d113 Mon Sep 17 00:00:00 2001 From: Taylor Otwell Date: Wed, 14 Oct 2015 09:09:56 -0500 Subject: [PATCH] Change exceptions to ignore. --- app/Exceptions/Handler.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/Exceptions/Handler.php b/app/Exceptions/Handler.php index 4e4ebf67..900d5f2f 100644 --- a/app/Exceptions/Handler.php +++ b/app/Exceptions/Handler.php @@ -3,7 +3,7 @@ namespace App\Exceptions; use Exception; -use Illuminate\Auth\Access\UnauthorizedException; +use Illuminate\Auth\Access\AuthorizationException; use Illuminate\Database\Eloquent\ModelNotFoundException; use Symfony\Component\HttpKernel\Exception\HttpException; use Illuminate\Foundation\Validation\ValidationException; @@ -19,8 +19,8 @@ class Handler extends ExceptionHandler */ protected $dontReport = [ HttpException::class, + AuthorizationException::class, ModelNotFoundException::class, - UnauthorizedException::class, ValidationException::class, ];