error handling for http get
removes the todo item related to last commit