Florian Guily

    Florian Guily

    4 months ago
    Hey, is there a way to add a sort of a callback function when a task fails ?
    Anna Geller

    Anna Geller

    4 months ago
    if you are asking for Prefect 1.0, this is what triggers are for - you can set a trigger for a specific task downstream of another task to run only on failure
    Florian Guily

    Florian Guily

    4 months ago
    ok i'll do it that way
    thanks
    Kevin Kho

    Kevin Kho

    4 months ago
    This is the use case for state handlers
    Anna Geller

    Anna Geller

    4 months ago
    true both state handlers and triggers can be used to do that, good catch 👍