pmalafosse opened a new pull request #17209:
URL: https://github.com/apache/airflow/pull/17209


   closes: https://github.com/apache/airflow/issues/17038
   
   This PR changes the message in the AirflowException when the ECS task 
launched by ECSOperator is stopped. 
   
   **Before:**
   The message when it failed was:
   `This task is not in success state {<huge JSON from AWS containing all the 
ECS task details>}`
   
   **Now:**
   The message is:
   ```
   This task is not in success state - last logs from Cloudwatch:
   <last_logs_from_cloudwatch>
   ```
   which makes it much more useful to understand what failed in the underlying 
code directly from the alert.
   
   The number of logs can be customized with the parameter 
`number_logs_exception`.
   
   FYI @uranusjr 
   


-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to