Skip to content

Commit

Permalink
Log condor_submit fails
Browse files Browse the repository at this point in the history
  • Loading branch information
Andrew-McNab-UK committed Feb 19, 2024
1 parent d37824a commit ab115cc
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions agents/justin-job-factory
Original file line number Diff line number Diff line change
Expand Up @@ -232,9 +232,12 @@ queue %d
return
finally:
os.remove(wrapperFile.name)

logLine('%s' % str(outcome.stdout))
logLine('condor_submit exit code: ' + str(outcome.returncode))

if outcome.returncode != 0:
logLine("condor_submit fails with return code %d" % outcome.returncode)
return

try:
clusterID = int(outcome.stdout.split('.')[0])
Expand Down

0 comments on commit ab115cc

Please sign in to comment.