Skip to content

Commit

Permalink
Merge pull request #1009 from breez/jssdwt-log-wrap-failure
Browse files Browse the repository at this point in the history
log reason for invoice wrapping failure
  • Loading branch information
roeierez authored Jun 19, 2024
2 parents 7c002aa + d376c84 commit 5d022f7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions libs/sdk-core/src/swap_in/swap.rs
Original file line number Diff line number Diff line change
Expand Up @@ -512,8 +512,8 @@ impl BTCReceiveSwap {
None => None,
},
None,
).await.map_err(|_|anyhow!(
"Preimage already known, invoice found, failed to ensure route hint"
).await.map_err(|e|anyhow!(
"Preimage already known, invoice found, failed to ensure route hint: {:?}", e
))?
}
}
Expand Down

0 comments on commit 5d022f7

Please sign in to comment.