Updated openstack/openstack

Project: openstack-infra/storyboard  ca537c255a096a1ebd385dabaf27d54f6369ce99

Better handle pika connection errors

It seems like pika may raise AttributeError when the connection is closed,
as describe here: https://github.com/pika/pika/issues/638, resulting
in this error displayed on the webclient:
500: POST /storyboard_api/tasks: 'NoneType' object has no attribute 'send'

This change adds AttributeError to the ConnectionClosed except.

Change-Id: Iffa1ef1998379097b32d699a360b5de9277c01ed
This commit is contained in:
Tristan Cacqueray
2017-07-11 03:04:23 +00:00
committed by Gerrit Code Review
parent 788db534af
commit fe3f04d9d7