Skip to content

Commit

Permalink
log options being passed with createMessage
Browse files Browse the repository at this point in the history
This will tell me two things:

1) Is this the method being used to log messages?
2) What options are being passed with the createMessage call?
  • Loading branch information
elrayle committed Dec 13, 2024
1 parent cb05615 commit ef7ecfd
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions ghcrawler/providers/queuing/storageQueue.js
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ class StorageQueue {
qlimit(this.options.parallelPush || 1)(request => {
const body = JSON.stringify(request)
return new Promise((resolve, reject) => {
this.logger.info(`Sending createMessage to ${this.queueName} with options ${JSON.stringify(option)}`)
this.client.createMessage(this.queueName, body, option, (error, queueMessageResult) => {
if (error) {
return reject(error)
Expand Down

0 comments on commit ef7ecfd

Please sign in to comment.