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

unexpected error when task is not found in Redis #31

Open
hurngchunlee opened this issue Aug 24, 2021 · 0 comments
Open

unexpected error when task is not found in Redis #31

hurngchunlee opened this issue Aug 24, 2021 · 0 comments

Comments

@hurngchunlee
Copy link

Hello,

When a task is not found in Redis, it returns an error with message cannot cast id: Attribute error.

Looking into the code, I see there is actually a check to tell whether the task is not found in Redis:

if results == nil {

But I think that check will always be false because of

results := make(map[string]interface{})

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