Updated console.error for bad GET requests.