Permalink
Browse files

Merge pull request #772 from mozilla/fixup_cloudtrail_network_error

Reorder exceptions for network related errors in cloudtrail worker
  • Loading branch information...
pwnbus committed Oct 11, 2018
2 parents f9ec856 + 03d18f9 commit 59a4a5138ee13fcb31a26fec53c125c0e2363f7a
Showing with 0 additions and 6 deletions.
  1. +0 −6 mq/esworker_cloudtrail.py
@@ -346,12 +346,6 @@ def run(self):
self.on_message(event)
self.taskQueue.delete_message(msg)
except KeyboardInterrupt:
sys.exit(1)
except Exception as e:
logger.exception(e)
time.sleep(3)
except (SSLEOFError, SSLError, socket.error) as e:
logger.info('Received network related error...reconnecting')
time.sleep(5)

0 comments on commit 59a4a51

Please sign in to comment.