Skip to content

Commit

Permalink
fix: describe client connection error
Browse files Browse the repository at this point in the history
  • Loading branch information
laktek committed Jul 21, 2023
1 parent cafeeeb commit 1c0035b
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion crates/base/src/server.rs
Original file line number Diff line number Diff line change
Expand Up @@ -159,7 +159,9 @@ impl Server {
.serve_connection(conn, service);

if let Err(e) = conn_fut.await {
error!("{:?}", e);
// Most common cause for these errors are when the client closes the connection before
// we could send a response
error!("client connection error: {:?}", e);
}
});
}
Expand Down

0 comments on commit 1c0035b

Please sign in to comment.