feat : dispense
This commit is contained in:
@@ -37,7 +37,7 @@ class ErrExceptionHandler extends ExceptionHandler
|
||||
$urlArr = explode('/',$this->request->path());
|
||||
$result = match ($urlArr[0]) {
|
||||
'api' => $this->apiReturn->error($throwable->getMessage(),$throwable->getCode()),
|
||||
'admin', 'common', 'web' => $this->adminReturn->error($throwable->getMessage(),$throwable->getCode()),
|
||||
'admin', 'common' => $this->adminReturn->error($throwable->getMessage(),$throwable->getCode()),
|
||||
default => null,
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user