https://dagster.io/ logo
#announcements
Title
# announcements
s

Steve Gustafson

11/02/2020, 10:44 PM
Is it possible to have a solid that is only invoked in when exceptions occur in other solids? I'm aware of failure_hook, but don't think it's quite what I want. The exception-handling solid needs to have access to the output of another solid. Sort of like:
Copy code
@pipeline
def dostuff():
    handle = init_stuff()
    try:
        step_a(handle)
        step_b(handle)
        ...
    except:
        handle_exception(handle)
m

max

11/03/2020, 1:14 AM
I think you can achieve this with conditional outputs