add job add debugging

This commit is contained in:
2016-04-29 16:44:18 -07:00
parent 1018e2b3a8
commit 21830c9eb0

View File

@@ -28,6 +28,7 @@ export default class Job extends events.EventEmitter {
this.ready = createIndex(client, index) this.ready = createIndex(client, index)
.then(() => { .then(() => {
this.debug(`Adding job to index ${this.index}`);
return this.client.index({ return this.client.index({
index: this.index, index: this.index,
type: this.type, type: this.type,