Giacomo Chiarella
02/10/2025, 11:04 AMecs = session.client(service_name="ecs", region_name="eu-central-1")
ecs.describe_task_definition(taskDefinition=task_details["group"].split(":")[1])
which is raising
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 codeGiacomo Chiarella
02/10/2025, 11:07 AM@task(name="describe_task", retries=1, retry_delay_seconds=30, retry_jitter_factor=1)
could it be because of the jitter factor?Giacomo Chiarella
02/10/2025, 11:13 AM