t

    Trevor Kramer

    1 year ago
    How can I get more information about why a task failed?
    [2021-03-25 17:12:55-0500] DEBUG - prefect.TaskRunner | Task 'AWSClientWait': Handling state change from Running to Success
    [2021-03-25 17:12:55-0500] INFO - prefect.TaskRunner | Task 'AWSClientWait': Finished task run for task with final state: 'Success'
    [2021-03-25 17:12:55-0500] INFO - prefect.TaskRunner | Task 'pruning': Starting task run...
    [2021-03-25 17:12:55-0500] DEBUG - prefect.TaskRunner | Task 'pruning': Handling state change from Pending to Failed
    [2021-03-25 17:12:55-0500] INFO - prefect.TaskRunner | Task 'pruning': Finished task run for task with final state: 'Failed'
    It seems to be failing before it even gets called.
    Michael Adkins

    Michael Adkins

    1 year ago
    Hi @Trevor Kramer -- are you using a custom state_handler?
    t

    Trevor Kramer

    1 year ago
    @Michael Adkins nope
    Michael Adkins

    Michael Adkins

    1 year ago
    Peculiar, does this occur consistently? Can you provide us with a minimal reproducible example?
    We've not seen this before -- exceptions should be logged.