pysalt commented on a change in pull request #13929:
URL: https://github.com/apache/airflow/pull/13929#discussion_r571798469



##########
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:
       Is maybe need to change method annotation?
   in airflow 2.0.0 this decorator wraps `_run_mini_scheduler_on_child_tasks` 
too. which is why the error actually occurred 




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


Reply via email to