1
0
mirror of https://github.com/invoiceninja/invoiceninja.git synced 2024-11-08 20:22:42 +01:00

Updates for handler

This commit is contained in:
David Bomba 2024-10-05 07:50:26 +10:00
parent dd086b651d
commit 009768f5bf

View File

@ -30,6 +30,7 @@ use Illuminate\Validation\ValidationException;
use Illuminate\Encryption\MissingAppKeyException; use Illuminate\Encryption\MissingAppKeyException;
use Illuminate\Auth\Access\AuthorizationException; use Illuminate\Auth\Access\AuthorizationException;
use Illuminate\Queue\MaxAttemptsExceededException; use Illuminate\Queue\MaxAttemptsExceededException;
use Elastic\Transport\Exception\NoNodeAvailableException;
use Illuminate\Http\Exceptions\ThrottleRequestsException; use Illuminate\Http\Exceptions\ThrottleRequestsException;
use Symfony\Component\Process\Exception\RuntimeException; use Symfony\Component\Process\Exception\RuntimeException;
use Illuminate\Database\Eloquent\RelationNotFoundException; use Illuminate\Database\Eloquent\RelationNotFoundException;
@ -78,6 +79,7 @@ class Handler extends ExceptionHandler
ModelNotFoundException::class, ModelNotFoundException::class,
NotFoundHttpException::class, NotFoundHttpException::class,
RelationNotFoundException::class, RelationNotFoundException::class,
NoNodeAvailableException::class,
]; ];
/** /**