Report location of attempted output_file that fails to write

This commit is contained in:
James R. Barlow
2017-07-22 17:49:56 -07:00
parent 71fbad83ad
commit 58e357c992
+3 -2
View File
@@ -675,8 +675,9 @@ def run_pipeline():
file."""))
return ExitCode.bad_args
elif not is_file_writable(options.output_file):
_log.error(textwrap.dedent("""\
Output file location is not writable."""))
_log.error(
"Output file location (" + options.output_file + ") " +
"is not writable.")
return ExitCode.file_access_error
manager = JobContextManager()