in aws/hhvm1/lambdas/check_for_failures.py [0:0]
def lambda_handler(event, context=None): failures = get_failures(event) if failures: raise Exception('The following steps have failed:\n' + '\n'.join(failures)) return event