"API call: {!r}\nException during conversion of API result to json. Result saved to last_api_result.json file.".format(url))
"API call: {!r}\nException during conversion of API result to json. Full result saved to last_api_result.json file.\nHere's the head of the answer:".format(url,response_head))