We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents eaab151 + 5c3d919 commit 989ed0cCopy full SHA for 989ed0c
bin/cli.js
@@ -193,6 +193,10 @@ var statusPoller = {
193
start: function() {
194
statusPoller.poller = setInterval(function () {
195
client.getWorkers(function (err, _workers) {
196
+ if (!_workers) {
197
+ logger.info(chalk.red('Error found: ' + err));
198
+ return;
199
+ }
200
_workers.filter(function(currentValue) {
201
return currentValue.status === 'running' && workerKeys[currentValue.id] && !workerKeys[currentValue.id].marked;
202
}).forEach(function(_worker) {
0 commit comments