Permalink
Browse files

Bug 951558: also ignore errors when *closing* a socket; r=jhopkins

  • Loading branch information...
1 parent 4e9eb73 commit a5dda2f45d842b5622f3cbc3b9c3ce3fd6ad837f @djmitche djmitche committed Dec 20, 2013
Showing with 4 additions and 1 deletion.
  1. +4 −1 buildapi/lib/mq.py
View
@@ -85,7 +85,10 @@ def connect(self):
def disconnect(self):
if self.connection:
- self.connection.close()
+ try:
+ self.connection.close()
+ except:
+ log.info("error while disconnecting; ignored", exc_info=True)
self.connection = None
def wait(self, limit=None):

0 comments on commit a5dda2f

Please sign in to comment.