mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +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
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Reference in a new issue