[lint] Limit unneccessarily broad except clauses

Add exception qualifier(s) to bare except clauses swallowing exceptions.
This commit is contained in:
Hornwitser
2018-06-22 15:12:56 +02:00
committed by Rapptz
parent 860d6a9ace
commit a71b3b5fa0
11 changed files with 19 additions and 19 deletions

View File

@ -282,7 +282,7 @@ class AutoShardedClient(Client):
for vc in self.voice_clients:
try:
await vc.disconnect()
except:
except Exception:
pass
to_close = [shard.ws.close() for shard in self.shards.values()]