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

Introduce middleware for jobs (error handling) #2475

Open
infomiho opened this issue Jan 30, 2025 · 0 comments
Open

Introduce middleware for jobs (error handling) #2475

infomiho opened this issue Jan 30, 2025 · 0 comments
Labels
enhancement New feature or request jobs

Comments

@infomiho
Copy link
Contributor

infomiho commented Jan 30, 2025

Users have to wrap their job handlers in try catch blocks to get error logging. We should investigate the best way to provide some sort of default error logging (to avoid jobs crashing the server, I'd assume).

One way a user suggested it to introduce some sort of jobs middleware e.g. you wrap jobs by default in error handling.

Related Discord thread: https://ptb.discord.com/channels/686873244791210014/867713251479519232/1334242360263049248

@infomiho infomiho added the jobs label Jan 30, 2025
@infomiho infomiho changed the title Introduce error handling in jobs Introduce middleware for jobs (error handling) Jan 30, 2025
@Martinsos Martinsos added the enhancement New feature or request label Feb 5, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request jobs
Projects
None yet
Development

No branches or pull requests

2 participants