Skip to content

Commit 32df952

Browse files
REVERT logging
1 parent 829cc29 commit 32df952

File tree

1 file changed

+7
-2
lines changed

1 file changed

+7
-2
lines changed

lambdas/core-notifier-lambda/src/app/parse-sqs-message.ts

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,13 @@ export const parseSqsRecord = (
1717
});
1818
const sqsEventBody = JSON.parse(sqsRecord.body);
1919
const sqsEventDetail = sqsEventBody.detail;
20-
const isEventValid = eventValidator(sqsEventDetail);
21-
if (!isEventValid) {
20+
21+
console.log("########## DELETE");
22+
console.log(messagePDMResourceAvailableValidator);
23+
console.log(eventValidator);
24+
console.log("########## END DELETE");
25+
26+
if (!eventValidator(sqsEventDetail)) {
2227
logger.error({
2328
err: messagePDMResourceAvailableValidator.errors,
2429
description:

0 commit comments

Comments
 (0)