Browse Source

AMQPConnectionException renamed to ConnectionException

Ask Solem 15 years ago
parent
commit
17cdae9220
1 changed files with 1 additions and 1 deletions
  1. 1 1
      celery/worker/__init__.py

+ 1 - 1
celery/worker/__init__.py

@@ -63,7 +63,7 @@ class AMQPListener(object):
             try:
                 self.consume_messages()
             except (socket.error,
-                    self.amqp_connection.AMQPConnectionException):
+                    self.amqp_connection.ConnectionException):
                 self.logger.error("AMQPListener: Connection to broker lost. "
                                 + "Trying to re-establish connection...")