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)
|
||||
.then(() => {
|
||||
this.debug(`Adding job to index ${this.index}`);
|
||||
return this.client.index({
|
||||
index: this.index,
|
||||
type: this.type,
|
||||
|
||||
Reference in New Issue
Block a user