mirror of
https://github.com/comit-network/xmr-btc-swap.git
synced 2024-11-09 19:10:36 +00:00
fix: Format cooperative redeem reject using thiserror (#1716)
This commit is contained in:
parent
1f322b78c8
commit
85c4db1d75
@ -339,7 +339,7 @@ async fn next_state(
|
||||
}
|
||||
Ok(Rejected { reason, .. }) => {
|
||||
tracing::error!(
|
||||
?reason,
|
||||
%reason,
|
||||
"Alice rejected our request for cooperative XMR redeem"
|
||||
);
|
||||
return Err(reason)
|
||||
@ -347,7 +347,7 @@ async fn next_state(
|
||||
}
|
||||
Err(error) => {
|
||||
tracing::error!(
|
||||
?error,
|
||||
%error,
|
||||
"Failed to request cooperative XMR redeem from Alice"
|
||||
);
|
||||
return Err(error)
|
||||
|
Loading…
Reference in New Issue
Block a user