Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Log unhandled exceptions raised from tasks #216

Open
CarrotManMatt opened this issue May 21, 2024 · 1 comment
Open

Log unhandled exceptions raised from tasks #216

CarrotManMatt opened this issue May 21, 2024 · 1 comment
Labels
high priority Needs focus/attention as soon as possible refactor Improvements to the codebase that do not directly affect users

Comments

@CarrotManMatt
Copy link
Member

Currently any unhandled exceptions raised from within any running tasks have their stack trace output to the local console and nothing else. Pycord's documentation on the Loop class describes how error handling can be done effectively for tasks

@CarrotManMatt CarrotManMatt added refactor Improvements to the codebase that do not directly affect users high priority Needs focus/attention as soon as possible labels May 21, 2024
@CarrotManMatt
Copy link
Member Author

This will involve refactoring the TeXBotBaseCog.send_error() function to take a MessageSenderComponent object, rather than a discord.Interaction object

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
high priority Needs focus/attention as soon as possible refactor Improvements to the codebase that do not directly affect users
Projects
None yet
Development

No branches or pull requests

1 participant