File tree Expand file tree Collapse file tree 1 file changed +5
-0
lines changed Expand file tree Collapse file tree 1 file changed +5
-0
lines changed Original file line number Diff line number Diff line change @@ -79,6 +79,7 @@ pub const Ctx = struct {
7979 std .debug .assert (completion == self .conn_completion );
8080
8181 self .conn_socket = result catch | err | {
82+ log .err ("accept error: {any}" , .{err });
8283 self .err = err ;
8384 return ;
8485 };
@@ -111,6 +112,7 @@ pub const Ctx = struct {
111112 std .debug .assert (completion == self .conn_completion );
112113
113114 const size = result catch | err | {
115+ log .err ("read error: {any}" , .{err });
114116 self .err = err ;
115117 return ;
116118 };
@@ -169,6 +171,7 @@ pub const Ctx = struct {
169171 std .debug .assert (completion == self .timeout_completion );
170172
171173 _ = result catch | err | {
174+ log .err ("timeout error: {any}" , .{err });
172175 self .err = err ;
173176 return ;
174177 };
@@ -218,6 +221,7 @@ pub const Ctx = struct {
218221 // NOTE: completion can be either self.conn_completion or self.timeout_completion
219222
220223 _ = result catch | err | {
224+ log .err ("close error: {any}" , .{err });
221225 self .err = err ;
222226 return ;
223227 };
@@ -388,6 +392,7 @@ const Send = struct {
388392
389393 fn asyncCbk (self : * Send , _ : * Completion , result : SendError ! usize ) void {
390394 _ = result catch | err | {
395+ log .err ("send error: {any}" , .{err });
391396 self .ctx .err = err ;
392397 return ;
393398 };
You can’t perform that action at this time.
0 commit comments