mirror of
https://github.com/c9s/bbgo.git
synced 2024-11-10 09:11:55 +00:00
add continue in err != nil
This commit is contained in:
parent
26cde5d57c
commit
f8ae408fad
|
@ -171,6 +171,7 @@ func toGlobalOrders(orderDetails []okexapi.OrderDetails) ([]types.Order, error)
|
||||||
o, err2 := toGlobalOrder(&orderDetail)
|
o, err2 := toGlobalOrder(&orderDetail)
|
||||||
if err2 != nil {
|
if err2 != nil {
|
||||||
err = multierr.Append(err, err2)
|
err = multierr.Append(err, err2)
|
||||||
|
continue
|
||||||
}
|
}
|
||||||
orders = append(orders, *o)
|
orders = append(orders, *o)
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user