Browse Source

Merge pull request #3874 from lancepioch/patch-1

[5.2] Add TokenMismatchException to the dontReport array
Taylor Otwell 7 years ago
parent
commit
982e769d2a
1 changed files with 2 additions and 0 deletions
  1. 2 0
      app/Exceptions/Handler.php

+ 2 - 0
app/Exceptions/Handler.php

@@ -3,6 +3,7 @@
 namespace App\Exceptions;
 
 use Exception;
+use Illuminate\Session\TokenMismatchException;
 use Illuminate\Validation\ValidationException;
 use Illuminate\Auth\Access\AuthorizationException;
 use Illuminate\Database\Eloquent\ModelNotFoundException;
@@ -20,6 +21,7 @@ class Handler extends ExceptionHandler
         AuthorizationException::class,
         HttpException::class,
         ModelNotFoundException::class,
+        TokenMismatchException::class,
         ValidationException::class,
     ];