Don't use a bare except!

Every time you use a bare except, Cthulu kills a kitten. Please, think
of the kittens.
This commit is contained in:
Erik Johnson 2018-08-21 16:24:31 -05:00
parent 134f125b96
commit c0fdb818f7
No known key found for this signature in database
GPG Key ID: 5E5583C437808F3F

View File

@ -2950,7 +2950,7 @@ class SyndicManager(MinionBase):
yield tornado.gen.sleep(auth_wait) # TODO: log?
except KeyboardInterrupt:
raise
except: # pylint: disable=W0702
except Exception:
failed = True
log.critical(
'Unexpected error while connecting to %s',