feat: place order
This commit is contained in:
@@ -35,7 +35,6 @@ class ErrExceptionHandler extends ExceptionHandler
|
||||
{
|
||||
if ($throwable instanceof ErrException) {
|
||||
$urlArr = explode('/',$this->request->path());
|
||||
var_dump($throwable);
|
||||
$result = match ($urlArr[0]) {
|
||||
'api' => $this->apiReturn->error($throwable->getMessage(),$throwable->getCode()),
|
||||
'admin', 'common' => $this->adminReturn->error($throwable->getMessage(),$throwable->getCode()),
|
||||
|
||||
Reference in New Issue
Block a user