From 58fcd42961f1ee0395a5bf62708fc012b4fb03e8 Mon Sep 17 00:00:00 2001 From: karan Date: Sun, 25 May 2025 22:13:03 +0530 Subject: [PATCH] raise errors --- exts/banking.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/exts/banking.py b/exts/banking.py index 9328c4a..cf4d04e 100644 --- a/exts/banking.py +++ b/exts/banking.py @@ -977,8 +977,7 @@ class Banking(commands.Cog): }) except Exception as e: - await ctx.send(f"> Error calculating revenue for {nation.nation_name}: {str(e)}") - continue + raise e # Format and send the results await self.send_revenue_results(ctx, revenue_data)