Skip to content

Commit

Permalink
EVEN MORE DEBUG
Browse files Browse the repository at this point in the history
  • Loading branch information
Maelstromeous committed Apr 28, 2023
1 parent 29eea99 commit 43bd8c0
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/modules/rabbitmq/queues/ApiQueue.ts
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@ export class ApiQueue extends RabbitMQQueue implements PS2AlertsQueueInterface {
};

console.log(`${this.queueName} queueOptions`, queueOptions);
console.log(`${this.queueName} exchange`, this.exchange);

ApiQueue.classLogger.debug(`Connecting to queue ${this.queueName}...`);

Expand All @@ -54,6 +55,8 @@ export class ApiQueue extends RabbitMQQueue implements PS2AlertsQueueInterface {
await channel.bindQueue(this.queueName, this.exchange, '#');
},
});

ApiQueue.classLogger.debug(`Connected to queue ${this.queueName}!`);
}

public async send(msg: ApiMQMessage | ApiMQGlobalAggregateMessage): Promise<boolean | undefined> {
Expand Down

0 comments on commit 43bd8c0

Please sign in to comment.