How can I get more information about why a task fa...
# ask-community
t
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.
z
Hi @Trevor Kramer -- are you using a custom state_handler?
t
@Zanie nope
z
Peculiar, does this occur consistently? Can you provide us with a minimal reproducible example?
We've not seen this before -- exceptions should be logged.