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, .. }) => { Ok(Rejected { reason, .. }) => {
return Err(error) tracing::error!(?reason, "Alice rejected our request for cooperative XMR redeem");
return Err(reason)
.context("Alice rejected our request for cooperative XMR redeem"); .context("Alice rejected our request for cooperative XMR redeem");
} }
Err(error) => { Err(error) => {
tracing::error!(?error, "Failed to request cooperative XMR redeem from Alice");
return Err(error) return Err(error)
.context("Failed to request cooperative XMR redeem from Alice"); .context("Failed to request cooperative XMR redeem from Alice");
} }