potiuk commented on PR #38155:
URL: https://github.com/apache/airflow/pull/38155#issuecomment-2015166039

   > Even though this feature is experimental, the openlineage provider relies 
on it, so I don't think we can just go ahead and change it
   
   Agreed. That's the hard nut to crack.  But maybe other idea. How about you 
put the error message in "thread local" variable and allow to retrieve it from 
there using a new public API call (`get_last_task_failure`- and add 
documentation about it). Maybe not a nicest API, but it could be backwards 
compatible and will allow us to extend the callbacks in the future.


-- 
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