diff --git a/src/functions/certGen.ts b/src/functions/certGen.ts index a69a7a4..f57c070 100644 --- a/src/functions/certGen.ts +++ b/src/functions/certGen.ts @@ -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 }); } }