Permalink
Browse files

Logging: Log the worker object when termination failed.

  • Loading branch information...
1 parent d42cf8a commit e44d17be5fc66853f3073115292e149181ab6544 @Krinkle Krinkle committed Nov 23, 2012
Showing with 2 additions and 2 deletions.
  1. +1 −1 src/cli.js
  2. +1 −1 src/testswarm-browserstack.js
View
@@ -132,7 +132,7 @@ tsbs.init(function (tsbs) {
}
});
} else if (program.terminate) {
- tsbs.browserstack.terminateWorker(program.terminate);
+ tsbs.browserstack.terminateWorker({ id: program.terminate });
}
if (program.spawn) {
@@ -125,7 +125,7 @@ self = {
worker: _.omit(worker, 'browser')
});
if (err) {
- util.log.warning('Terminating worker failed', err);
+ util.log.warning('Terminating worker failed', { worker: worker, err: err });
}
});
},

0 comments on commit e44d17b

Please sign in to comment.