Update swap.rs

This commit is contained in:
binarybaron 2024-07-11 09:30:48 +02:00
parent 2824ebc893
commit 073baa9752

View File

@ -337,11 +337,13 @@ async fn next_state(
}
}
}
Ok(Rejected { reason: error, .. }) => {
return Err(error)
Ok(Rejected { reason, .. }) => {
tracing::error!(?reason, "Alice rejected our request for cooperative XMR redeem");
return Err(reason)
.context("Alice rejected our request for cooperative XMR redeem");
}
Err(error) => {
tracing::error!(?error, "Failed to request cooperative XMR redeem from Alice");
return Err(error)
.context("Failed to request cooperative XMR redeem from Alice");
}