diff --git a/app/Exception/Handler/ErrExceptionHandler.php b/app/Exception/Handler/ErrExceptionHandler.php index 75229b5..6e56901 100644 --- a/app/Exception/Handler/ErrExceptionHandler.php +++ b/app/Exception/Handler/ErrExceptionHandler.php @@ -39,6 +39,7 @@ class ErrExceptionHandler extends ExceptionHandler $result = match ($urlArr[0]) { 'api' => $this->apiReturn->error($throwable->getMessage(),$throwable->getCode()), 'admin' => $this->adminReturn->error($throwable->getMessage(),$throwable->getCode()), + 'error' => $this->adminReturn->error($throwable->getMessage(),$throwable->getCode()), default => null, };