diff options
author | Aaron O'Mullan <aaron.omullan@gmail.com> | 2014-12-16 17:46:01 +0100 |
---|---|---|
committer | Aaron O'Mullan <aaron.omullan@gmail.com> | 2014-12-16 17:46:01 +0100 |
commit | e7309f71d24def27299e704ad353522842cd7523 (patch) | |
tree | 8fb1f0983c13e529ba8ae4ff1168083f0415395d /bin/build.js | |
parent | 7fd77323451e2088a77757049fad0098d048ef3c (diff) | |
parent | 6c979c941943460b2dcdb84ef0c7f668620bef3f (diff) | |
download | gitbook-e7309f71d24def27299e704ad353522842cd7523.zip gitbook-e7309f71d24def27299e704ad353522842cd7523.tar.gz gitbook-e7309f71d24def27299e704ad353522842cd7523.tar.bz2 |
Merge pull request #530 from GitbookIO/fix/cli-error-handling
Robust CLI error handling
Diffstat (limited to 'bin/build.js')
-rw-r--r-- | bin/build.js | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/bin/build.js b/bin/build.js index 4f8b74e..28d7641 100644 --- a/bin/build.js +++ b/bin/build.js @@ -44,18 +44,6 @@ var makeBuildFunc = function(converter) { .then(function(output) { console.log("Successfully built!"); return output; - }) - .fail(function(err) { - // Log error - utils.logError(err); - - // Exit process with failure code - process.exit(-1); - }) - .then(function() { - // Prevent badly behaving plugins - // from making the process hang - process.exit(0); }); }; }; |