ashb commented on code in PR #46265:
URL: https://github.com/apache/airflow/pull/46265#discussion_r1935137137
##########
task_sdk/src/airflow/sdk/execution_time/supervisor.py:
##########
@@ -352,7 +341,17 @@ def start(
del logger
# Run the child entrypoint
- _fork_main(child_stdin, child_stdout, child_stderr,
child_logs.fileno(), target)
+ try:
+ _fork_main(child_stdin, child_stdout, child_stderr,
child_logs.fileno(), target)
+ except BaseException as e:
+ try:
+ print("Exception in _fork_main, exiting with code 124", e,
file=sys.stderr)
Review Comment:
We can't log, not reliably as this is such an unusual occurrence that
something went wrong we can't rely on log being usable here
--
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]