bbgo: print submit order in the message

This commit is contained in:
c9s 2023-03-05 17:23:06 +08:00
parent a01888dcdd
commit 07f2de4300
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 {
logger.WithError(err2).Errorf("submit order error")
logger.WithError(err2).Errorf("submit order error: %s", submitOrder.String())
}
if err2 == nil && createdOrder != nil {