added err vars
Redis: Better error handling