Skip to content

Commit

Permalink
Prevent swallowing exceptions with programmatic api, fixes #2187
Browse files Browse the repository at this point in the history
  • Loading branch information
sheerun committed Apr 4, 2016
1 parent fc44462 commit c2e0dc9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/commands/index.js
Expand Up @@ -38,7 +38,7 @@ function commandFactory(id) {
var logger = new Logger();

Q.try(func, logger)
.then(function () {
.done(function () {
config.restore();
var args = [].slice.call(arguments);
args.unshift('end');
Expand Down

0 comments on commit c2e0dc9

Please sign in to comment.