You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
GlueJobOperator in deffered mode does not return error message #64095
We are using on_failure_callback with a custom implemented function that extracts the error message from the context of a failed task and posts it as a card to our Teams channel. exception = context.get('exception')
When a glue job fails while the task is in deferred status it will only pick up that the state has failed and our callback simply extracts "Trigger failure".
This is an issue because in our Teams error notifications we want to immediately be able to see the high level cause of failure. Currently we would need to either go to Glue logs directly or via the Airflow logs.
What you think should happen instead?
The error message from the Glue job should be picked up and passed to the operator, written to logs and available in context for use with callback functions.
How to reproduce
Create a Glue job that raises an error message.
Create a DAG that triggers above job using GlueJobOperator in deferred mode.
Thanks for opening your first issue here! Be sure to follow the issue template! If you are willing to raise PR to address this issue please do so, no need to wait for approval.
Activity
boring-cyborg commentedon Mar 23, 2026
Thanks for opening your first issue here! Be sure to follow the issue template! If you are willing to raise PR to address this issue please do so, no need to wait for approval.
yamakazushi commentedon Mar 23, 2026
Could you please assign this issue to me?
simonjobs commentedon Mar 23, 2026
@yamakzsh
Work has already been picked up by @shivaam in #64085 please align with him first.
yamakazushi commentedon Mar 23, 2026
got it, so I'll leave it to him.