Print the error code and signal

This commit is contained in:
Girish Ramakrishnan
2015-04-10 19:05:16 -07:00
parent a168846a05
commit 3d55e6313e
2 changed files with 4 additions and 0 deletions
+2
View File
@@ -96,6 +96,8 @@ function execFile(tag, file, args, callback) {
debug(tag + ' (stdout): %s', stdout.toString('utf8'));
debug(tag + ' (stderr): %s', stderr.toString('utf8'));
if (error) debug(tag + ' code: %s, signal: %s', error.code, error.signal);
callback(error);
});
}
+2
View File
@@ -125,6 +125,8 @@ function execFile(tag, file, args, callback) {
debug(tag + ' (stdout): %s', stdout);
debug(tag + ' (stderr): %s', stderr);
if (error) debug(tag + ' code: %s, signal: %s', error.code, error.signal);
callback(error);
});
}