mirror of
https://github.com/c9s/bbgo.git
synced 2024-11-22 14:55:16 +00:00
bbgo: fix logger usage in BatchRetryPlaceOrder
This commit is contained in:
parent
5805f0c7f0
commit
a01888dcdd
|
@ -377,7 +377,7 @@ batchRetryOrder:
|
|||
// can allocate permanent error backoff.Permanent(err) to stop backoff
|
||||
createdOrder, err2 := exchange.SubmitOrder(timeoutCtx, submitOrder)
|
||||
if err2 != nil {
|
||||
log.WithError(err2).Errorf("submit order error")
|
||||
logger.WithError(err2).Errorf("submit order error")
|
||||
}
|
||||
|
||||
if err2 == nil && createdOrder != nil {
|
||||
|
|
Loading…
Reference in New Issue
Block a user