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,