Skip to content

Commit

Permalink
Print error chain for ConnectionHandlerUpgrErr
Browse files Browse the repository at this point in the history
  • Loading branch information
Victor Ermolaev committed Mar 10, 2023
1 parent d04ffd0 commit 1060619
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion swarm/src/handler.rs
Original file line number Diff line number Diff line change
Expand Up @@ -467,7 +467,7 @@ where
ConnectionHandlerUpgrErr::Timer => {
write!(f, "Timer error while opening a substream")
}
ConnectionHandlerUpgrErr::Upgrade(err) => write!(f, "{err}"),
ConnectionHandlerUpgrErr::Upgrade(err) => crate::print_error_chain(f, err),
}
}
}
Expand Down

0 comments on commit 1060619

Please sign in to comment.