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 and print unknown state #82

Merged
merged 2 commits into from
Mar 26, 2021
Merged

Conversation

OmarWKH
Copy link
Collaborator

@OmarWKH OmarWKH commented Mar 25, 2021

This makes it easier to diagnose issues with unknown states like #80 (states that aren't currently handled by celery-progress).

The unknown state will be:

  1. logged like "Task ed4147aa-0e33-43a9-9f04-347571d3c162 has unknown state CUSTOM with metadata None".
  2. shown in the progress bar error message like "Uh-Oh, something went wrong! Unknown state CUSTOM".

@czue czue merged commit 4b1e023 into czue:master Mar 26, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants