psuslykov-godaddy commented on code in PR #74621:
URL: https://github.com/apache/airflow/pull/74621#discussion_r4265188377
##########
providers/amazon/src/airflow/providers/amazon/aws/triggers/emr.py:
##########
@@ -697,7 +697,7 @@ async def run(self) -> AsyncIterator[TriggerEvent]:
)
raise
except Exception as e:
- yield TriggerEvent({"status": "failure", "message": str(e)})
+ yield TriggerEvent({"status": "failure", "message": str(e),
self.return_key: self.return_value})
Review Comment:
Fixed, the `execute_complete` now prints event`s message, and original
message if it is empty:
```
raise AirflowException(
validated_event.get("message", "EMR Serverless job failed or timed out
in deferrable mode")
)
```
--
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]