Hi everyone! I have a task calling ```ecs = sessio...
# ask-community
g
Hi everyone! I have a task calling
Copy code
ecs = session.client(service_name="ecs", region_name="eu-central-1")
ecs.describe_task_definition(taskDefinition=task_details["group"].split(":")[1])
which is raising
Copy code
botocore.errorfactory.ClientException: An error occurred (ClientException) when calling the DescribeTaskDefinition operation: Unable to describe task definition.
I can see in prefect that line logged as ERROR in Prefect but the task is finishing as COMPLETED. Any idea why? There are no try/except in the code
the task has this decorator
Copy code
@task(name="describe_task", retries=1, retry_delay_seconds=30, retry_jitter_factor=1)
could it be because of the jitter factor?
strange enough the whole flow is marked as FAILED. This behaviour basically makes subsequent tasks running which should not