Commit 3ff03df1 authored by David Mendez's avatar David Mendez
Browse files

Print to info log submission output paths when it fails

parent 0bc7a36d
......@@ -549,6 +549,9 @@ def submit_job_to_lsf(job):
return_code = submission_process.returncode
app_logging.debug(f'submission return code was: {return_code}')
if return_code != 0:'submission return code was: {return_code}')'Submission STD Output: \n {submission_process.stdout}')'Submission STD Error: \n {submission_process.stderr}')
raise JobSubmissionError('There was an error when running the job submission script! Please check the logs')
lsf_job_id = get_lsf_job_id(str(submission_process.stdout))
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment