in job-worker/npm_job_worker.py [0:0]
def signal_failure(jobId, msg):
print("Signaling failure, reason: %s" % msg)
try:
failure = codepipeline.put_job_failure_result(jobId=jobId, failureDetails={'type': 'JobFailed', 'message': msg})
return failure
except Exception as e:
print("Received an error when attempting to put job failure result: %s" % str(e))