Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 8 additions & 1 deletion trust-quorum/src/connection_manager.rs
Original file line number Diff line number Diff line change
Expand Up @@ -502,7 +502,14 @@ impl ConnMgr {
Some(self.on_task_exit(task_id))
}
Err(err) => {
warn!(self.log, "Connection task panic: {err}");
if err.is_panic() {
warn!(self.log, "Connection task panic: {err}");
} else {
debug!(
self.log,
"Connection task {} cancelled", err.id(),
);
}
Some(self.on_task_exit(err.id()))
}
}
Expand Down
Loading