diff --git a/child.js b/child.js index 159ee07..a51d30b 100644 --- a/child.js +++ b/child.js @@ -35,6 +35,7 @@ function spawn (cmd, args, opts) { const err = new Error( require('./y.js')`Command failed: ${cmd} ${args.join(' ')}` ) + err.isOperational = true err.exitCode = code reject(err) } else {