Commit cc50b930 authored by Federico Sismondi's avatar Federico Sismondi

Merge branch 'master' into deprecate_type_field_from_API

* master:
  catch BrokenPipeError and reconnect
parents df52ff80 4ac53700
......@@ -39,7 +39,7 @@ try:
except ImportError:
pass
VERSION = '0.0.7'
VERSION = '0.0.8'
# defaults vars
AMQP_URL = 'amqp://guest:guest@localhost'
......@@ -214,7 +214,7 @@ class RabbitMQHandler(logging.Handler):
)
)
except pika.exceptions.ConnectionClosed:
except (pika.exceptions.ConnectionClosed, BrokenPipeError):
print("Log handler connection closed. Reconnecting..")
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment