ashb commented on code in PR #61629:
URL: https://github.com/apache/airflow/pull/61629#discussion_r2779679307


##########
providers/standard/src/airflow/providers/standard/utils/python_virtualenv_script.jinja2:
##########
@@ -55,7 +55,10 @@ else:
   #}
   reinit_supervisor_comms = getattr(task_runner, "reinit_supervisor_comms", 
None)
   if reinit_supervisor_comms:
-      reinit_supervisor_comms()
+      try:
+          reinit_supervisor_comms()
+      except Exception:
+          pass

Review Comment:
   Oh this isn't in an expect airflow block. 
   
   Still, if imports at all it should be complete, else all sorts of things 
will break. 
   
   Is think moving this (without the exception handing) in to the expect 
airflow, or yet import, but only fail/log off expect airflow is yet



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