bbgo: fix logger usage in BatchRetryPlaceOrder

This commit is contained in:
c9s 2023-03-05 17:21:29 +08:00
parent 5805f0c7f0
commit a01888dcdd
No known key found for this signature in database
GPG Key ID: 7385E7E464CB0A54

View File

@ -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 {