From f776914e8c62f38aeb0746a6affa2e215c48d1d2 Mon Sep 17 00:00:00 2001 From: c9s Date: Fri, 27 Sep 2024 21:23:11 +0800 Subject: [PATCH] do not return when failed cleaning up orders --- pkg/strategy/xdepthmaker/strategy.go | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/pkg/strategy/xdepthmaker/strategy.go b/pkg/strategy/xdepthmaker/strategy.go index 0ce5e3aa0..adc7c7814 100644 --- a/pkg/strategy/xdepthmaker/strategy.go +++ b/pkg/strategy/xdepthmaker/strategy.go @@ -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)