Skip to content

unexpected error when task is not found in Redis #31

Open
@hurngchunlee

Description

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{})

Activity

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

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions