diff --git a/src/Arc/Application.php b/src/Arc/Application.php index 96f4050..c1f16c4 100644 --- a/src/Arc/Application.php +++ b/src/Arc/Application.php @@ -1028,6 +1028,7 @@ public function abort($code, $message = '', array $headers = []) if ($code == 404) { throw new NotFoundHttpException($message); } + throw new HttpException($code, $message, null, $headers); }