Fix nullpointers.

This commit is contained in:
James Cole
2021-04-07 14:18:43 +02:00
parent c67b10e38d
commit 4f42eb1796
3 changed files with 10 additions and 5 deletions

View File

@@ -35,6 +35,7 @@ use Illuminate\Session\TokenMismatchException;
use Illuminate\Support\Arr;
use Illuminate\Validation\ValidationException as LaravelValidationException;
use League\OAuth2\Server\Exception\OAuthServerException;
use Laravel\Passport\Exceptions\OAuthServerException as LaravelOAuthException;
use Symfony\Component\HttpKernel\Exception\NotFoundHttpException;
use Throwable;
@@ -54,6 +55,7 @@ class Handler extends ExceptionHandler
LaravelValidationException::class,
NotFoundHttpException::class,
OAuthServerException::class,
LaravelOAuthException::class,
TokenMismatchException::class,
];