Mark
11/30/2022, 9:33 AMcontext.failure_event.message
to see which function failed. Is it also possible to get the extended details of why the function failed?
I.e. I have a function:
@op
def div_by_zero():
return 1/0
If I run this op in a job, it logically fails and context.failure.event_message
tells me it's step div_by_zero that failed.
Is it possible to also get the details (in this case Python raising a 'ZeroDivisionError')? I can see these as 'info' step in dagit but not sure how to get this output.
Thanks in advance!chris
12/01/2022, 12:18 AMcontext.failure_event.event_specific_data.error
but this is getting into internals a little bit... we should probably have a more straightforward way of getting that information off of the context directly