Skip to content

Commit 39fad72

Browse files
authored
Print exit code when throwing process exception (#1788)
1 parent aafa512 commit 39fad72

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/src/io_utils.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -212,7 +212,7 @@ class SubprocessLauncher {
212212
int exitCode = await process.exitCode;
213213
if (exitCode != 0) {
214214
throw new ProcessException(executable, arguments,
215-
"SubprocessLauncher got non-zero exitCode", exitCode);
215+
"SubprocessLauncher got non-zero exitCode: $exitCode", exitCode);
216216
}
217217
return jsonObjects;
218218
}

0 commit comments

Comments
 (0)