aboutsummaryrefslogtreecommitdiff
path: root/main.ha
diff options
context:
space:
mode:
Diffstat (limited to 'main.ha')
-rw-r--r--main.ha4
1 files changed, 3 insertions, 1 deletions
diff --git a/main.ha b/main.ha
index 2c59c3d..3deb557 100644
--- a/main.ha
+++ b/main.ha
@@ -48,7 +48,9 @@ export fn main() void = {
const serv_req = match (http::serve(server)) {
case let this: *http::server_request =>
yield this;
- case net::error => abort("failure while serving");
+ case =>
+ log::println("failure while serving");
+ continue;
};
defer http::serve_finish(serv_req);