- "Failed to get system OTA channel: {}".format(system_ota))
- system_responses = system_request.json()["response"]
+ "Failed to get system OTA channel: {}, error: {}".format(args.system_ota, system_request[0]))
+ system_responses = json.loads(system_request[1])["response"]