mirror of
https://github.com/comit-network/xmr-btc-swap.git
synced 2025-09-23 22:34:41 -04:00
feat (Cli): Display reason for failed cancel-refund operation to the user (#1668)
We now display the reason for a failed cancel-refund operation to the user. Fixes #683
This commit is contained in:
parent
23a27680a4
commit
173d077751
8 changed files with 224 additions and 61 deletions
|
@ -821,6 +821,7 @@ impl Request {
|
|||
.await
|
||||
.map_err(|err| {
|
||||
method_span.in_scope(|| {
|
||||
// The {:?} formatter is used to print the entire error chain
|
||||
tracing::debug!(err = format!("{:?}", err), "API call resulted in an error");
|
||||
});
|
||||
err
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue