diff --git a/app/Exceptions/Handler.php b/app/Exceptions/Handler.php index 99a527d25a77..e955e64cc91e 100644 --- a/app/Exceptions/Handler.php +++ b/app/Exceptions/Handler.php @@ -148,6 +148,7 @@ class Handler extends ExceptionHandler if (Utils::isNinjaProd() && ! Utils::isDownForMaintenance() && ! ($e instanceof HttpResponseException) + && ! ($e instanceof \Illuminate\Validation\ValidationException) && ! ($e instanceof ValidationException)) { $data = [ 'error' => get_class($e),