Skip to content

Commit

Permalink
feat(cb2-*): add in missing error log in catch block (#194)
Browse files Browse the repository at this point in the history
  • Loading branch information
naathanbrown authored Oct 9, 2024
1 parent 0788939 commit c1bd7ae
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/functions/certGen.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ const certGen: Handler = async (event: SQSEvent, context?: Context, callback?: C
try {
await processRequest.process(JSON.parse(record.body));
} catch (error) {
console.error(error);
batchItemFailures.push({ itemIdentifier: record.messageId });
}
}
Expand Down

0 comments on commit c1bd7ae

Please sign in to comment.