Evan Sadler05/31/2023, 3:00 PM
in a subprocess, and simply raising a
when the latter fails (due to a missing import in this case). Printing a formatted error message from STDERR of the subprocess might address this issue. There are other issues where say Flytekit is not installed in the image or available in a different venv. Flyte will just report exit code 1 without context about what is actually wrong - Its likely just a k8s/image issue, but unclear how to solve without adding another entrypoint like
to catch and expose the error.