Skip to content

Commit 816e5ed

Browse files
committed
lsps-plugin: print whole error chain for HtlcError
1 parent ac39d31 commit 816e5ed

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

  • plugins/lsps-plugin/src/core/lsps2

plugins/lsps-plugin/src/core/lsps2/htlc.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -55,11 +55,11 @@ impl RejectReason {
5555

5656
#[derive(Debug, Error)]
5757
pub enum HtlcError {
58-
#[error("failed to query channel capacity: {0}")]
58+
#[error("failed to query channel capacity: {0:#}")]
5959
CapacityQuery(#[source] anyhow::Error),
60-
#[error("failed to fund channel: {0}")]
60+
#[error("failed to fund channel: {0:#}")]
6161
FundChannel(#[source] anyhow::Error),
62-
#[error("channel ready check failed: {0}")]
62+
#[error("channel ready check failed: {0:#}")]
6363
ChannelReadyCheck(#[source] anyhow::Error),
6464
}
6565

0 commit comments

Comments
 (0)