Commit 68738b50 authored by Taylor Otwell's avatar Taylor Otwell

Change exceptions to ignore.

parent 37363aca
...@@ -3,7 +3,7 @@ ...@@ -3,7 +3,7 @@
namespace App\Exceptions; namespace App\Exceptions;
use Exception; use Exception;
use Illuminate\Auth\Access\UnauthorizedException; use Illuminate\Auth\Access\AuthorizationException;
use Illuminate\Database\Eloquent\ModelNotFoundException; use Illuminate\Database\Eloquent\ModelNotFoundException;
use Symfony\Component\HttpKernel\Exception\HttpException; use Symfony\Component\HttpKernel\Exception\HttpException;
use Illuminate\Foundation\Validation\ValidationException; use Illuminate\Foundation\Validation\ValidationException;
...@@ -19,8 +19,8 @@ class Handler extends ExceptionHandler ...@@ -19,8 +19,8 @@ class Handler extends ExceptionHandler
*/ */
protected $dontReport = [ protected $dontReport = [
HttpException::class, HttpException::class,
AuthorizationException::class,
ModelNotFoundException::class, ModelNotFoundException::class,
UnauthorizedException::class,
ValidationException::class, ValidationException::class,
]; ];
......
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