This commit is contained in:
2020-09-10 16:02:43 +08:00
parent 80a89fe15a
commit 87eb45b284
+1 -1
View File
@@ -426,7 +426,7 @@ class Router extends Application implements RouterInterface
$response = send($node->dispatch(), 200);
}
} catch (ExitException $exception) {
$response = send($this->exception($exception), $exception->getCode());
$response = send($exception->getMessage(), $exception->getCode());
} catch (\Throwable $exception) {
$response = send($this->exception($exception), 200);
} finally {