You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/producer.js
+6Lines changed: 6 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -26,6 +26,12 @@ try {
26
26
pgClient.on('notification',async(message)=>{
27
27
try{
28
28
payloadcopy=""
29
+
logger.debug('Entering producer 1')
30
+
logger.debug(message.toString())
31
+
logger.debug('Entering producer 2')
32
+
logger.debug(message)
33
+
logger.debug('Entering producer 3')
34
+
logger.debug(JSON.stringify(message.payload))
29
35
constpayload=JSON.parse(message.payload)
30
36
payloadcopy=message
31
37
constvalidTopicAndOriginator=(pgOptions.triggerTopics.includes(payload.topic))&&(pgOptions.triggerOriginators.includes(payload.originator))// Check if valid topic and originator
0 commit comments