mirror of
https://github.com/valitydev/salt.git
synced 2024-11-07 17:09:03 +00:00
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:
parent
134f125b96
commit
c0fdb818f7
@ -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',
|
||||
|
Loading…
Reference in New Issue
Block a user