diff --git a/src/functions/reportGen.ts b/src/functions/reportGen.ts index abd74ab..3702a80 100644 --- a/src/functions/reportGen.ts +++ b/src/functions/reportGen.ts @@ -34,7 +34,7 @@ const reportGen: Handler = async (event: any, context?: Context, callback?: Call if (visit) { const generationServiceResponse = await reportService.generateATFReport(visit); - console.debug(`Report generated: ${generationServiceResponse}`); + console.debug(`Report generated: ${JSON.stringify(generationServiceResponse)}`); await sendATFReport.sendATFReport(generationServiceResponse, visit); console.debug("All emails sent, terminating lambda"); }