diff --git a/projects/scrape-txs/src/lambda.ts b/projects/scrape-txs/src/lambda.ts index 2b75790..e2ba3ba 100644 --- a/projects/scrape-txs/src/lambda.ts +++ b/projects/scrape-txs/src/lambda.ts @@ -14,12 +14,7 @@ export const handler: ScheduledHandler = async (_event) => { await run(months); } catch (error: any) { const emailSubject = `Scrape bank txs failed`; - let emailBody = `Error message: - -${error.message} - -Stack trace: - + const emailBody = `Error: ${error.stack} `; await mailer.sendMail({