Skip to content

Commit

Permalink
Merge branch 'dispute-readability' of https://github.com/MostroP2P/mo…
Browse files Browse the repository at this point in the history
…stro into dispute-readability
  • Loading branch information
arkanoider committed Nov 11, 2024
2 parents 982a4b4 + 3bb1110 commit d1529c2
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/app/dispute.rs
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,10 @@ async fn get_valid_order(
&event.sender,
)
.await;
return Err(Error::msg("Order status does not allow disputes"));
return Err(Error::msg(format!(
"Order {} with status {} does not allow disputes. Must be Active or FiatSent",
order.id, order.status
)));
}
}
Err(_) => {
Expand Down

0 comments on commit d1529c2

Please sign in to comment.