fix worker debug output

This commit is contained in:
2016-06-28 18:28:12 -07:00
parent eba6748ba9
commit 1d4c45c5d9

View File

@@ -27,7 +27,7 @@ export default class Job extends events.EventEmitter {
this.debug = (...msg) => debug(...msg, `id: ${this.id}`);
this._checker = false;
this.debug(`Created worker for type ${this.type}`);
this.debug(`Created worker for job type ${this.jobtype}`);
this._startJobPolling();
}