Parcourir la source

Merge branch 'master' of github.com:celery/celery

Ask Solem il y a 12 ans
Parent
commit
e932bce8de
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  1. 1 1
      celery/worker/consumer.py

+ 1 - 1
celery/worker/consumer.py

@@ -178,7 +178,7 @@ class Consumer(object):
             except self.connection_errors + self.channel_errors:
                 maybe_shutdown()
                 if ns.state != CLOSE and self.connection:
-                    error(CONNECTION_RETRY, exc_info=True)
+                    warn(CONNECTION_RETRY, exc_info=True)
                     ns.restart(self)
 
     def shutdown(self):