소스 검색

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

JiahengHe 1 년 전
부모
커밋
e40a4efead
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  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();
                         // 触发限频