Skip to content

HSET error when value to store is empty #1290

Open
@jppsantana

Description

@jppsantana

Currently calling the hset method with an empty like value results in the following error:

Redis::CommandError: ERR wrong number of arguments for 'hset' command

Examples:

empty_redis_1

empty_redis_2

Is there any chance this can crash gracefully? Or any thoughts about the best way to handle this without being explicit checking empty values before calling hset? Thanks!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions