syedahsn commented on code in PR #36179: URL: https://github.com/apache/airflow/pull/36179#discussion_r1424732236
########## airflow/providers/amazon/aws/executors/ecs/ecs_executor.py: ########## @@ -288,6 +333,9 @@ def attempt_task_runs(self): _failure_reasons = [] try: run_task_response = self._run_task(task_key, cmd, queue, exec_config) + except (ClientError, NoCredentialsError): Review Comment: That's a good catch. There needs to be a check here to make sure that the error is due to a credential issue. If so, we can raise the exception and have it get caught in the `sync` call. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: commits-unsubscr...@airflow.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org