We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c563199 commit 50e7cf0Copy full SHA for 50e7cf0
docs/src/patterns/accept-loop.md
@@ -124,7 +124,7 @@ async fn accept_loop(addr: impl ToSocketAddrs) -> Result<()> {
124
let stream = match result {
125
Err(ref e) if is_connection_error(e) => continue, // 1
126
Err(e) => {
127
- eprintln!("Error: {}. Pausing for 500ms."); // 3
+ eprintln!("Error: {}. Pausing for 500ms.", e); // 3
128
task::sleep(Duration::from_millis(500)).await; // 2
129
continue;
130
}
0 commit comments