chenglongyan commented on PR #26040: URL: https://github.com/apache/airflow/pull/26040#issuecomment-1233261562
> Since `task` is really only accessed once in `handle_failure`, would it be more minimal to use `getattr` there instead? I think you're right, but is it better to use **hasattr**?, because **getattr** also throws an exception. -- 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]
