Jelajahi Sumber

设置coinex的下单异常日志打印

JiahengHe 1 tahun lalu
induk
melakukan
e40a4efead
1 mengubah file dengan 1 tambahan dan 1 penghapusan
  1. 1 1
      standard/src/coinex_swap.rs

+ 1 - 1
standard/src/coinex_swap.rs

@@ -617,7 +617,7 @@ impl Platform for CoinexSwap {
                         let mut err_order = Order::new();
                         err_order.custom_id = cid.clone();
                         err_order.status = "REMOVE".to_string();
-                        // info!("err 数量 {},方向 {},价格 {},c_id {}", amount, side, price, cid);
+                        info!("coinex下单error 数量: {},方向: {},价格: {},c_id: {}, err: {}", amount, side, price, cid, error);
                         self_clone.order_sender.send(err_order).await.unwrap();
                         self_clone.error_sender.send(error).await.unwrap();
                         // 触发限频