Skip to content
Snippets Groups Projects
Commit f0476b4f authored by Piotr Maślanka's avatar Piotr Maślanka
Browse files

added extra exception to filtering

thing came up while testing
parent 6277d852
No related branches found
No related tags found
No related merge requests found
......@@ -13,7 +13,7 @@ def translate_exceptions(fun):
return fun(*args, **kwargs)
except amqp.ChannelError as e:
raise RemoteAMQPError(e.reply_code, e.reply_text)
except IOError as e:
except (IOError, amqp.ConnectionForced) as e:
raise ConnectionFailedError(e.message)
return q
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment