Skip to content

Commit

Permalink
Remove traceback suppression from buttonized menu()
Browse files Browse the repository at this point in the history
  • Loading branch information
Jackenmen committed Mar 17, 2024
1 parent edfb9ff commit 9521e12
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions redbot/core/utils/menus.py
Original file line number Diff line number Diff line change
Expand Up @@ -49,10 +49,7 @@ async def callback(self, interaction: discord.Interaction):
if self.emoji.is_unicode_emoji()
else (ctx.bot.get_emoji(self.emoji.id) or self.emoji)
)
try:
await self.func(ctx, pages, controls, message, page, timeout, emoji)
except Exception:
pass
await self.func(ctx, pages, controls, message, page, timeout, emoji)


async def menu(
Expand Down

0 comments on commit 9521e12

Please sign in to comment.