Skip to content

Commit

Permalink
log reason for invoice wrapping failure
Browse files Browse the repository at this point in the history
  • Loading branch information
JssDWt committed Jun 17, 2024
1 parent e998692 commit d376c84
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 d376c84

Please sign in to comment.