aboutsummaryrefslogtreecommitdiff
path: root/src/http.zig
diff options
context:
space:
mode:
Diffstat (limited to 'src/http.zig')
-rw-r--r--src/http.zig4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/http.zig b/src/http.zig
index 03ebf50d3..62a07cfc0 100644
--- a/src/http.zig
+++ b/src/http.zig
@@ -3332,9 +3332,7 @@ pub const Server = struct {
if (!finished) {
req_ctx.bundler.router.?.match(*Server, server, RequestContext, req_ctx) catch |err| {
switch (err) {
- error.ModuleNotFound => {
- req_ctx.sendNotFound() catch {};
- },
+ error.ModuleNotFound => {},
else => {
Output.printErrorln("FAIL [{s}] - {s}: {s}", .{ @errorName(err), req.method, req.path });
did_print = true;