aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--bot/exts/info/doc/_cog.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/bot/exts/info/doc/_cog.py b/bot/exts/info/doc/_cog.py
index a78916d4a..3f7604072 100644
--- a/bot/exts/info/doc/_cog.py
+++ b/bot/exts/info/doc/_cog.py
@@ -168,8 +168,9 @@ class CachedParser:
)
if markdown is not None:
await doc_cache.set(item, markdown)
- except Exception:
+ except Exception as e:
log.exception(f"Unexpected error when handling {item}")
+ future.set_exception(e)
else:
future.set_result(markdown)
await asyncio.sleep(0.1)