Skip to content

Commit 0991f1b

Browse files
committed
more precise error message.
1 parent 3d70692 commit 0991f1b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

smartdispatch/smartdispatch_script.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -191,7 +191,7 @@ def main(argv=None):
191191
try:
192192
launch_jobs(LAUNCHER if args.launcher is None else args.launcher, pbs_filenames, CLUSTER_NAME, path_job)
193193
except subprocess.CalledProcessError as e:
194-
sys.stderr.write("smart-dispatch: error: The launcher wasn't able the launch the job(s) properly. Maybe the pbs file(s) generated were invalid: \n{}".format(e.output))
194+
sys.stderr.write("smart-dispatch: error: The launcher wasn't able the launch the job(s) properly. Maybe the pbs file(s) generated were invalid. The following error message was returned: \n{}".format(e.output))
195195
sys.exit(2)
196196

197197
print "\nLogs, command, and jobs id related to this batch will be in:\n {smartdispatch_folder}".format(smartdispatch_folder=path_job)

0 commit comments

Comments
 (0)