Skip to content
This repository has been archived by the owner on Mar 21, 2018. It is now read-only.

Commit

Permalink
Better description of error exit codes in spawning child processes.
Browse files Browse the repository at this point in the history
  • Loading branch information
jsantell committed May 19, 2016
1 parent 7852cf8 commit bd5cad8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion build/utils.js
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ export async function spawn(command, args, options = {}) {
child.on('error', reject);
child.on('exit', (code) => {
if (code !== 0) {
reject(new Error(`Exited with exit code ${code}`));
reject(new Error(`Child process ${command} exited with exit code ${code}`));
} else {
resolve();
}
Expand Down

0 comments on commit bd5cad8

Please sign in to comment.