改名
This commit is contained in:
@@ -426,7 +426,7 @@ class Router extends Application implements RouterInterface
|
|||||||
$response = send($node->dispatch(), 200);
|
$response = send($node->dispatch(), 200);
|
||||||
}
|
}
|
||||||
} catch (ExitException $exception) {
|
} catch (ExitException $exception) {
|
||||||
$response = send($this->exception($exception), $exception->getCode());
|
$response = send($exception->getMessage(), $exception->getCode());
|
||||||
} catch (\Throwable $exception) {
|
} catch (\Throwable $exception) {
|
||||||
$response = send($this->exception($exception), 200);
|
$response = send($this->exception($exception), 200);
|
||||||
} finally {
|
} finally {
|
||||||
|
|||||||
Reference in New Issue
Block a user