Added error logs or redis set method