aboutsummaryrefslogtreecommitdiff
path: root/discord/player.py
diff options
context:
space:
mode:
Diffstat (limited to 'discord/player.py')
-rw-r--r--discord/player.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/discord/player.py b/discord/player.py
index c645ae66..a31b8fd2 100644
--- a/discord/player.py
+++ b/discord/player.py
@@ -303,7 +303,7 @@ class AudioPlayer(threading.Thread):
if self.after is not None:
try:
self.after(self._current_error)
- except:
+ except Exception:
log.exception('Calling the after function failed.')
def stop(self):