diff --git a/daemon/src/db.rs b/daemon/src/db.rs index 74a0126..f5823d3 100644 --- a/daemon/src/db.rs +++ b/daemon/src/db.rs @@ -170,7 +170,11 @@ pub async fn insert_new_cfd_state_by_order_id( // make sure that the new state is different than the current one to avoid that we save the same // state twice if mem::discriminant(&latest_cfd_state_in_db) == mem::discriminant(&new_state) { - anyhow::bail!("Cannot insert new state {} for cfd with order_id {} because it currently already is in state {}", new_state, order_id, latest_cfd_state_in_db); + tracing::warn!( + "Same state transition for cfd with order_id {}: {}", + order_id, + latest_cfd_state_in_db + ); } let cfd_state = serde_json::to_string(&new_state)?;