Fixed an error in redisdriver error handling