Commit 2b96bc67 authored by ioedeveloper's avatar ioedeveloper

Throw exeception

parent da598ce0
......@@ -16,6 +16,7 @@ bash.stdout.on('data', (data) => {
bash.stderr.on('data', (data) => {
console.log(data.toString());
throw new Error(data)
});
bash.on('exit', (code) => {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment