redis-rb
redis-rb copied to clipboard
HSET error when value to store is empty
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:
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!
It would be easy to do nothing if the argument is empty yes.