Junnplus commented on a change in pull request #13929:
URL: https://github.com/apache/airflow/pull/13929#discussion_r579575284
##########
File path: airflow/sentry.py
##########
@@ -149,14 +149,21 @@ def add_breadcrumbs(self, task_instance, session=None):
def enrich_errors(self, func):
"""Wrap TaskInstance._run_raw_task to support task specific tags
and breadcrumbs."""
+ session_args_idx = find_session_idx(func)
Review comment:
> which is why the error actually occurred
This is not the root cause. Just wrap `TaskInstance._run_raw_task` will also
happen.
----------------------------------------------------------------
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.
For queries about this service, please contact Infrastructure at:
[email protected]