Skip to content

Commit 1b05016

Browse files
committed
cdp: display last message on cdp error
1 parent afc5205 commit 1b05016

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/server.zig

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -175,6 +175,7 @@ pub const Ctx = struct {
175175
self.do(parts.msg) catch |err| {
176176
if (err != error.Closed) {
177177
log.err("do error: {any}", .{err});
178+
log.debug("last msg: {s}", .{parts.msg});
178179
}
179180
};
180181
}

0 commit comments

Comments
 (0)