Reputation: 93
I want to fail the glue job, through code. Is there any approach through which we can do it, in python.
Upvotes: 3
Views: 5057
Reputation: 2144
raise Exception("{}:Exception raised: {}".format(job_name, err))
It will throw error and failed glue job.
Upvotes: 4