do not return when failed cleaning up orders
Some checks failed
Go / build (1.21, 6.2) (push) Has been cancelled
golang-lint / lint (push) Has been cancelled

This commit is contained in:
c9s 2024-09-27 21:23:11 +08:00
parent 12455604a6
commit f776914e8c
No known key found for this signature in database
GPG Key ID: 7385E7E464CB0A54

View File

@ -417,8 +417,7 @@ func (s *Strategy) quoteWorker(ctx context.Context) {
// clean up the previous open orders
if err := s.cleanUpOpenOrders(ctx, s.makerSession); err != nil {
log.WithError(err).Errorf("error cleaning up open orders")
return
log.WithError(err).Warnf("error cleaning up open orders")
}
s.updateQuote(ctx, 0)