mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2024-11-09 12:42:36 +01:00
Handle validation exceptions
This commit is contained in:
parent
7058cd77e2
commit
258d1d1269
@ -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),
|
||||
|
Loading…
Reference in New Issue
Block a user