update error message

This commit is contained in:
kbearXD 2024-04-07 11:42:25 +08:00 committed by c9s
parent f8d7447e8e
commit 444c228fc4
No known key found for this signature in database
GPG Key ID: 7385E7E464CB0A54

View File

@ -28,7 +28,7 @@ func SyncActiveOrder(ctx context.Context, ex types.Exchange, orderQueryService t
}
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