Catching exceptions for node redis.