If there's an error it will now print the request error and quit the program, after saving the data fetched so far. For #3