Skip to content

Commit ac3037a

Browse files
committed
fix exception message
1 parent 85003b1 commit ac3037a

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

cwltool/main.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -499,9 +499,9 @@ def main(argsl=None,
499499
return 1
500500
except Exception as exc:
501501
_logger.error(
502-
u"I'm sorry, I couldn't load this CWL file%s, try again with "
503-
"--debug for more information.\nThe error was: %s" % exc
504-
if not args.debug else ". The error was:",
502+
u"I'm sorry, I couldn't load this CWL file%s",
503+
", try again with --debug for more information.\nThe error was: "
504+
"%s" % exc if not args.debug else ". The error was:",
505505
exc_info=(exc if args.debug else False))
506506
return 1
507507

0 commit comments

Comments
 (0)