-
Notifications
You must be signed in to change notification settings - Fork 22
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
Celery: Unhanded exception in task_prerun_callback
#731
Comments
Thanks for the issue Tony. Is this occurring for all tasks that use celery-batches? |
@tony Which broker are you using with celery? |
broker: Redis json serializer for tasks and results.
Yes. Also I believe the underlying cause is likely the underlying cause is on my end (celery tasks complete fine) I can provide app id over email at your request |
That's alright. I was curious if it was another broker that may be eating it. I suspect what you have is what we need to do. I'm going to change it over to |
@tim-schilling feel free to close out #732 if your |
@tim-schilling Do you have any updates on this? This is an issue preventing us from enabling scout-apm background tasks on in our app |
@tony not currently. I will work on it tonight. Thank you for clarifying its importance. |
@tony This has been released in v2.24.2. Thank you for the bug report! |
@tim-schilling Based on my tests 2.42.2 is working well. all background tasks collect superbly, including the one that was problematic (that ostensibly skips the |
Using celery-batches 0.2.0, celery 4.4.7, python 3.10, redis backend
What happens: Request with missing
delivery_info
raises error. This bubbles up to sentry, another tool.Expected behavior: Drop the trace is unless error reporting is enabled on scout-apm.
The text was updated successfully, but these errors were encountered: