https://dagster.io/ logo
#ask-community
Title
# ask-community
e

Eric Larson

07/21/2022, 9:27 PM
Using the
run_failure_sensor
how would I got about getting the error events from the jobs ops? I’m talking about the ones that show up in dagit like this:
j

jamie

07/22/2022, 2:53 PM
Hi @Eric Larson the input to the function decorated by the
run_failure_sensor
is a
context
object and you should hopefully be able to find whatever information you need in there! here are the docs to the specific kind of context object that the run failure sensor gets (link)
Copy code
@run_failure_sensor
def my_failure_sensor(context):
    err = context.failure_event
    # more processing