|
|
@@ -127,8 +127,9 @@ class ArbitrageProcess:
|
|
|
exchange_info_rst = mexc.market.get_exchangeInfo(exchange_info_params)
|
|
|
# 返回值检查
|
|
|
if 'symbols' not in exchange_info_rst or len(exchange_info_rst['symbols']) != 1:
|
|
|
+ params_formated = pformat(exchange_info_params, indent=2)
|
|
|
info_formated = pformat(exchange_info_rst, indent=2)
|
|
|
- msg = f'获取交易规则时出现错误\n{info_formated}'
|
|
|
+ msg = f'获取交易规则时出现错误\n{exchange_info_params}\n{info_formated}'
|
|
|
logger.error(msg)
|
|
|
add_state_flow_entry(self.process_item, self.current_state, msg, "fail")
|
|
|
|