Skip to content

Commit

Permalink
make error message clearer
Browse files Browse the repository at this point in the history
  • Loading branch information
flub committed Nov 27, 2024
1 parent 09b97d9 commit b64c003
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion iroh-relay/src/server/client_conn.rs
Original file line number Diff line number Diff line change
Expand Up @@ -415,7 +415,11 @@ impl Stream for RateLimitedRelayedStream {
continue;
}
Err(_insufficient_capacity) => {
error!("frame larger than bucket capacity");
error!(
"frame larger than bucket capacity: \
configuration error: \
max_burst_bytes < MAX_FRAME_SIZE?"
);
// Let this frame through so to not completely break.
return Poll::Ready(Some(item));
}
Expand Down

0 comments on commit b64c003

Please sign in to comment.