diff options
| author | patrick-scho | 2025-04-06 16:22:00 +0200 |
|---|---|---|
| committer | patrick-scho | 2025-04-06 16:22:00 +0200 |
| commit | e4dc8452f905c132418055d7f2a49f9ea2eb1ddb (patch) | |
| tree | 4f30a0d39152a472bac8794463f48d7167b2a303 /src/main.zig | |
| parent | 13381fcc62fea793dc9c4af62e4b59927b9ae94f (diff) | |
| download | chirp-e4dc8452f905c132418055d7f2a49f9ea2eb1ddb.tar.gz chirp-e4dc8452f905c132418055d7f2a49f9ea2eb1ddb.zip | |
make handle_request throw error for debugging
Diffstat (limited to 'src/main.zig')
| -rw-r--r-- | src/main.zig | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/src/main.zig b/src/main.zig index 0800e2b..7aa34bb 100644 --- a/src/main.zig +++ b/src/main.zig @@ -1653,9 +1653,10 @@ pub fn main() !void { server.wait(); while (true) { const req = (server.next_request(&req_buffer) catch break) orelse break; - handle_request(env, req) catch { - try handle_error(env, req); - }; + // handle_request(env, req) catch { + // try handle_error(env, req); + // }; + try handle_request(env, req); } } // const ThreadCount = 1; |
