You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by GitBox <gi...@apache.org> on 2021/09/02 05:27:54 UTC

[GitHub] [airflow] xinbinhuang commented on a change in pull request #17967: logs task launch exception in standard task runner

xinbinhuang commented on a change in pull request #17967:
URL: https://github.com/apache/airflow/pull/17967#discussion_r700755625



##########
File path: airflow/task/task_runner/standard_task_runner.py
##########
@@ -84,7 +84,8 @@ def _start_by_fork(self):
             try:
                 args.func(args, dag=self.dag)
                 return_code = 0
-            except Exception:
+            except Exception as task_launch_exception:
+                self.log.error(repr(task_launch_exception))

Review comment:
       ```suggestion
                   self.log.error(task_launch_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: commits-unsubscribe@airflow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org