From 7842700bf1f4ef66b0c45feacacb5719310eca62 Mon Sep 17 00:00:00 2001 From: James Cole Date: Thu, 8 Apr 2021 06:50:00 +0200 Subject: [PATCH] Do not report specific error. --- app/Exceptions/Handler.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/app/Exceptions/Handler.php b/app/Exceptions/Handler.php index 901a0b1b07..5d5940b711 100644 --- a/app/Exceptions/Handler.php +++ b/app/Exceptions/Handler.php @@ -37,6 +37,7 @@ 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 Symfony\Component\HttpKernel\Exception\HttpException; use Throwable; /** @@ -57,6 +58,7 @@ class Handler extends ExceptionHandler OAuthServerException::class, LaravelOAuthException::class, TokenMismatchException::class, + HttpException::class ]; /**