mirror of
https://github.com/c9s/bbgo.git
synced 2024-11-25 16:25:16 +00:00
update error message
This commit is contained in:
parent
f8d7447e8e
commit
444c228fc4
|
@ -28,7 +28,7 @@ func SyncActiveOrder(ctx context.Context, ex types.Exchange, orderQueryService t
|
||||||
}
|
}
|
||||||
|
|
||||||
if updatedOrder == nil {
|
if updatedOrder == nil {
|
||||||
return isOrderUpdated, fmt.Errorf("updatedOrder is nil and there is no error, please check it")
|
return isOrderUpdated, fmt.Errorf("unexpected error, order object (%d) is a nil pointer, please check common.SyncActiveOrder()", orderID)
|
||||||
}
|
}
|
||||||
|
|
||||||
// maxapi.OrderStateFinalizing does not mean the fee is calculated
|
// maxapi.OrderStateFinalizing does not mean the fee is calculated
|
||||||
|
|
Loading…
Reference in New Issue
Block a user