Description
It would be nice to have a catch-all which responds to deferred interactions with something like "An unexpected error occurred." before re-raising.
If a catch-all isn't possible, there are very few defers so far (only two at the time of writing) so it should be fairly straightforward to handle those.
My guess is that a catch-all is not possible, as it no longer has the discord.Interaction
object to respond to at the top level.
While it would be nice if all interactions which error were handled, a red "The application did not respond." tells the tale much better than "●●● Ghostty Bot is thinking...", and handling every interaction will likely be a lot of redundant exception handling code if a global catch-all isn't possible, so this is unlikely to be considered feasible.
Activity