This commit is contained in:
2021-03-30 12:03:05 +08:00
parent fdbcc8f763
commit 8f7306eca1
3 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -592,7 +592,7 @@ class Node extends HttpService
}
return $this->runWith(...func_get_args());
} catch (Throwable $throwable) {
$this->addError($throwable->getMessage(),'throwable');
$this->addError($throwable,'throwable');
return Json::to(401, $throwable->getMessage());
}
}