Skip to content

Commit 54cd8d5

Browse files
Update consumer.js
1 parent 5b7b18a commit 54cd8d5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/consumer.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -155,7 +155,7 @@ async function setupKafkaConsumer() {
155155
await consumer.init(strategies)
156156
logger.info('Initialized kafka consumer')
157157
healthcheck.init([check])
158-
kafkaService.init().catch((e) => {
158+
kafkaService.init().catch(async (e) => {
159159
logger.error(`Kafka producer intialization error: "${e}"`)
160160
await callposttoslack(`error-sync: postgres-ifx-processor : consumer Kafka producer intialization : ${e}`)
161161
terminate()

0 commit comments

Comments
 (0)