diff options
Diffstat (limited to 'discord/state.py')
| -rw-r--r-- | discord/state.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/discord/state.py b/discord/state.py index 53e453f3..ee542d99 100644 --- a/discord/state.py +++ b/discord/state.py @@ -115,8 +115,8 @@ class ConnectionState: try: passed = listener.predicate(argument) - except Exception as e: - future.set_exception(e) + except Exception as exc: + future.set_exception(exc) removed.append(i) else: if passed: |