mirror of
https://github.com/comit-network/xmr-btc-swap.git
synced 2024-10-01 01:45:40 -04: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, .. }) => {
|
Ok(Rejected { reason, .. }) => {
|
||||||
tracing::error!(
|
tracing::error!(
|
||||||
?reason,
|
%reason,
|
||||||
"Alice rejected our request for cooperative XMR redeem"
|
"Alice rejected our request for cooperative XMR redeem"
|
||||||
);
|
);
|
||||||
return Err(reason)
|
return Err(reason)
|
||||||
@ -347,7 +347,7 @@ async fn next_state(
|
|||||||
}
|
}
|
||||||
Err(error) => {
|
Err(error) => {
|
||||||
tracing::error!(
|
tracing::error!(
|
||||||
?error,
|
%error,
|
||||||
"Failed to request cooperative XMR redeem from Alice"
|
"Failed to request cooperative XMR redeem from Alice"
|
||||||
);
|
);
|
||||||
return Err(error)
|
return Err(error)
|
||||||
|
Loading…
Reference in New Issue
Block a user