send correct response code on error

This commit is contained in:
crispycat 2023-09-18 12:06:38 -04:00
parent d88fd07fa5
commit 895ba4b84b

View File

@ -419,6 +419,8 @@
);
}
http_response_code($exception->getCode());
$this->dispatcher->trigger("crispage.exception", $exception);
// Cancel render