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

Task can fail but still get marked as "Complete" in task DB #149

Open
clenk opened this issue Aug 28, 2018 · 0 comments
Open

Task can fail but still get marked as "Complete" in task DB #149

clenk opened this issue Aug 28, 2018 · 0 comments

Comments

@clenk
Copy link
Contributor

clenk commented Aug 28, 2018

An error can occur in a storage handler, but since the handler runs in a separate thread the celery worker doesn't receive any exceptions raised by the storage handler, and will still log the task as Complete and store it as such in the task database. But then when you try to pull up the report, you can't because it wasn't stored.

A possible solution: https://gist.github.com/bsphere/f1e0a7d033dab2871c5c

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant