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

enhancement: Add more details when sub-task fails #249

Open
1 task done
kairoaraujo opened this issue Feb 1, 2023 · 0 comments
Open
1 task done

enhancement: Add more details when sub-task fails #249

kairoaraujo opened this issue Feb 1, 2023 · 0 comments

Comments

@kairoaraujo
Copy link
Member

What do you want to share with us?

The current API shows the task status.
When a task has the status FAILURE, the status is quite simple. It is a string with the exception message from the task.

The proposal for this issue is an enhancement in case of status FAILURE
The suggestion is

"status": {
    "error": "string with the error message/exception",
    "traceback": "The failure traceback, it can help developers and use troubleshooting in details"
} 

This will improve the existent implementation on the RSTUF Worker repository-service-tuf/repository-service-tuf-worker#190

References

Code of Conduct

  • I agree to follow this project's Code of Conduct
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

No branches or pull requests

1 participant