diff options
| author | Hornwitser <[email protected]> | 2018-06-22 15:12:56 +0200 |
|---|---|---|
| committer | Rapptz <[email protected]> | 2018-11-24 22:17:57 -0500 |
| commit | a71b3b5fa0a814c1610b2c685ca8bcbbb233e52a (patch) | |
| tree | 6e99e481ae99f632f89e906eaffbdb854bb13715 /discord/gateway.py | |
| parent | Revert "Rework documentation to not duplicate inherited members." (diff) | |
| download | discord.py-a71b3b5fa0a814c1610b2c685ca8bcbbb233e52a.tar.xz discord.py-a71b3b5fa0a814c1610b2c685ca8bcbbb233e52a.zip | |
[lint] Limit unneccessarily broad except clauses
Add exception qualifier(s) to bare except clauses swallowing exceptions.
Diffstat (limited to 'discord/gateway.py')
| -rw-r--r-- | discord/gateway.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/discord/gateway.py b/discord/gateway.py index 23b5de77..7e04018a 100644 --- a/discord/gateway.py +++ b/discord/gateway.py @@ -76,7 +76,7 @@ class KeepAliveHandler(threading.Thread): try: f.result() - except: + except Exception: pass finally: self.stop() |