diff --git a/driver/main.py b/driver/main.py index 0dbdd732e..39dab9b88 100644 --- a/driver/main.py +++ b/driver/main.py @@ -39,7 +39,7 @@ def main(): (exitcode, continue_execution) = run_components.run_translate(args) if continue_execution and args.transform_task: print() - run_components.transform_task(args) + (exitcode, continue_execution) = run_components.transform_task(args) elif component == "search": (exitcode, continue_execution) = run_components.run_search(args) if not args.keep_sas_file: diff --git a/driver/run_components.py b/driver/run_components.py index 162e40d40..26da49043 100644 --- a/driver/run_components.py +++ b/driver/run_components.py @@ -129,6 +129,10 @@ def transform_task(args): if err.returncode != -signal.SIGXCPU: returncodes.print_stderr( f"Task transformation returned exit status {err.returncode}") + # If the task transformation failed, we proceed with the original task. + return (err.returncode, True) + else: + return (0, True) def run_search(args):