Add basic error handling for URLs that don’t exist