Skip to content

Commit 7b4bc4c

Browse files
authored
Add "event received" log
1 parent b4038c0 commit 7b4bc4c

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/events/router.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,8 @@ async function onEventReceived(
5252
return errored({ code: 'EVENT_TYPE_NOT_FOUND', type: payload.type });
5353
}
5454

55+
console.log('Received event:', JSON.stringify(payload));
56+
5557
const eventMonitor = prometheus.trackEvent();
5658

5759
const executionResult = await matchingEvent.execute(payload.data, client);

0 commit comments

Comments
 (0)