aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--bot/exts/events/trivianight/trivianight.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/bot/exts/events/trivianight/trivianight.py b/bot/exts/events/trivianight/trivianight.py
index 0971ea2a..aa6b8967 100644
--- a/bot/exts/events/trivianight/trivianight.py
+++ b/bot/exts/events/trivianight/trivianight.py
@@ -90,8 +90,8 @@ class TriviaNightCog(commands.Cog):
try:
serialized_json = loads(json_text)
- except JSONDecodeError:
- raise commands.BadArgument("Invalid JSON")
+ except JSONDecodeError as error:
+ raise commands.BadArgument(f"Looks like something went wrong:\n{str(error)}")
self.game = TriviaNightGame(serialized_json)
self.question_closed = asyncio.Event()