cabol / nebulex_redis_adapter

Nebulex adapter for Redis

Home Page:https://hexdocs.pm/nebulex_redis_adapter/NebulexRedisAdapter.html

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Raise an error when pipeline results contains one or more Redis errors

cabol opened this issue · comments

When executing a Redis pipeline, it may return {:ok, results} but the results may contain one or more Redis errors (Redix.Error structs). Currently, this scenario is not handled by the adapter causing unexpected behavior. The proposed solution is to check the pipeline results and raise an error if any Redis error is found within them.