Created
May 9, 2025 10:52
-
-
Save shlomisas/90d4f9f63da848b4748d22bcf97735e2 to your computer and use it in GitHub Desktop.
sqs-consumer-start-bug
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import { Consumer } from 'sqs-consumer'; | |
const consumer = Consumer.create({ | |
queueUrl: 'some wrong queue url' | |
}); | |
consumer.on('error', err => { | |
console.error('Error in SQS consumer:', err); | |
}); | |
consumer.on('started', () => { | |
console.debug('Scheduler SQS consumer started'); | |
}); | |
consumer.start(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment