nicer error handling, don't cause retry on certain invalid and maxscrape errors.