ashb commented on a change in pull request #2135: [AIRFLOW-843] Store 
exceptions on task_instance
URL: https://github.com/apache/incubator-airflow/pull/2135#discussion_r212653771
 
 

 ##########
 File path: airflow/models.py
 ##########
 @@ -1574,6 +1574,8 @@ def dry_run(self):
     def handle_failure(self, error, test_mode=False, context=None, 
session=None):
         self.log.exception(error)
         task = self.task
+        session = settings.Session()
 
 Review comment:
   What is this line for? It seems like it does nothing?

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

Reply via email to