add job add debugging
This commit is contained in:
@@ -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,
|
||||||
|
|||||||
Reference in New Issue
Block a user