def checkresponse(response):
  if 'error' in response:
    print response['error']
    exit()
  return response
dataset/ETHPy150Open JeremyOT/Toto/templates/toto/simple/scripts/benchmark.py/checkresponse/original