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

Retrieving status of non-existing task returns internal server error "cannot cast id: Attribute error" #2

Closed
Jascha-N opened this issue Aug 24, 2021 · 1 comment
Assignees
Labels
bug Something isn't working

Comments

@Jascha-N
Copy link

It would be nice if this would return a 404 not found instead.

@hurngchunlee hurngchunlee added the bug Something isn't working label Aug 24, 2021
@hurngchunlee hurngchunlee self-assigned this Aug 24, 2021
@hurngchunlee
Copy link
Contributor

@Jascha-N I looked into this issue, but the main issue is that the underlying task scheduling library I use (bokchoy) has a bug. See this issue I created to the project: thoas/bokchoy#31

For the time being, I have to fork this project and make my own fix (given that the author of this project doesn't seem to be very active on this project). Anyway, it is at least fixed by now. If the task doesn't exist, it returns 404. See this API document for more information.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants