aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--discord/context_managers.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/discord/context_managers.py b/discord/context_managers.py
index 38751831..e7ac501c 100644
--- a/discord/context_managers.py
+++ b/discord/context_managers.py
@@ -30,7 +30,7 @@ def _typing_done_callback(fut):
# just retrieve any exception and call it a day
try:
fut.exception()
- except Exception:
+ except (asyncio.CancelledError, Exception):
pass
class Typing: