1
0
mirror of https://github.com/Jermolene/TiddlyWiki5 synced 2025-12-04 07:48:06 +00:00

Improvements to recipe error handling

This commit is contained in:
Jeremy Ruston
2012-01-22 17:37:21 +00:00
parent 5d1cf97134
commit 3675958e30
2 changed files with 38 additions and 18 deletions

View File

@@ -230,7 +230,7 @@ var processNextSwitch = function() {
}
csw.handler(s.args,function (err) {
if(err) {
throw err;
throw "Error while executing option '--" + s.switchName + "' was:\n" + err;
}
process.nextTick(processNextSwitch);
});