Skip to content

Commit 982e769

Browse files
authored
Merge pull request laravel#3874 from lancepioch/patch-1
[5.2] Add TokenMismatchException to the dontReport array
2 parents b6a1152 + 05235ee commit 982e769

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

app/Exceptions/Handler.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
namespace App\Exceptions;
44

55
use Exception;
6+
use Illuminate\Session\TokenMismatchException;
67
use Illuminate\Validation\ValidationException;
78
use Illuminate\Auth\Access\AuthorizationException;
89
use Illuminate\Database\Eloquent\ModelNotFoundException;
@@ -20,6 +21,7 @@ class Handler extends ExceptionHandler
2021
AuthorizationException::class,
2122
HttpException::class,
2223
ModelNotFoundException::class,
24+
TokenMismatchException::class,
2325
ValidationException::class,
2426
];
2527

0 commit comments

Comments
 (0)