Skip to content

Commit 25d69c0

Browse files
authored
Merge branch 'master' into fix-648
2 parents 91c647e + d9a3a01 commit 25d69c0

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

cwltool/sandboxjs.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -292,7 +292,8 @@ def stdfmt(data): # type: (Text) -> Text
292292
info = u"returncode was: %s\nscript was:\n%s\nstdout was: %s\nstderr was: %s\n" %\
293293
(nodejs.returncode, fn_linenum(), stdfmt(stdoutdata.decode('utf-8')), stdfmt(stderrdata.decode('utf-8')))
294294
else:
295-
info = stdfmt(stderrdata.decode('utf-8'))
295+
info = u"Javascript expression was: %s\nstdout was: %s\nstderr was: %s" %\
296+
(js, stdfmt(stdoutdata.decode('utf-8')), stdfmt(stderrdata.decode('utf-8')))
296297

297298
if nodejs.poll() not in (None, 0):
298299
if killed:

0 commit comments

Comments
 (0)