summaryrefslogtreecommitdiff
path: root/backend/src/Handler.zig
diff options
context:
space:
mode:
Diffstat (limited to 'backend/src/Handler.zig')
-rw-r--r--backend/src/Handler.zig2
1 files changed, 1 insertions, 1 deletions
diff --git a/backend/src/Handler.zig b/backend/src/Handler.zig
index 0cee922..010dd0e 100644
--- a/backend/src/Handler.zig
+++ b/backend/src/Handler.zig
@@ -4,6 +4,6 @@ const httpz = @import("httpz");
pub const Handler = struct {
pub fn dispatch(self: *Handler, action: httpz.Action(*Handler), req: *httpz.Request, res: *httpz.Response) !void {
try action(self, req, res);
- std.debug.print("{any} {s}\n", .{req.method, req.url.raw});
+ std.debug.print("{any} {s}: {d}\n", .{req.method, req.url.raw, res.status});
}
};