From d24d6f7673e1b3b62cd23f24686f5db55dd40f9e Mon Sep 17 00:00:00 2001 From: Kat Schelonka Date: Wed, 4 Sep 2024 17:10:26 -0700 Subject: [PATCH] chore(debug): todo remove console.log --- lambdas/user-list-search-corpus-parser-hydration/src/index.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lambdas/user-list-search-corpus-parser-hydration/src/index.ts b/lambdas/user-list-search-corpus-parser-hydration/src/index.ts index 9f7ef6b9b..3448dd338 100644 --- a/lambdas/user-list-search-corpus-parser-hydration/src/index.ts +++ b/lambdas/user-list-search-corpus-parser-hydration/src/index.ts @@ -26,8 +26,9 @@ import { getEmbeddings } from './embeddingsRequest'; */ export async function processor(event: SQSEvent): Promise { const failedMessageIds: string[] = []; - const validPayloads: Array = event.Records.map((record) => { + console.log(`record body: ${record.body}`); + console.log(`record (stringified): ${JSON.stringify(record)}`); const message = JSON.parse(JSON.parse(record.body).Message); return { messageId: record.messageId,