From 995b1dda7cdfebf4367d301ccac38fd339fab6dd Mon Sep 17 00:00:00 2001 From: Blake Matthes Date: Thu, 9 Apr 2026 21:15:26 -0500 Subject: [PATCH] refactor(send email): changes the error message to show the true message in the error --- backend/utils/sendEmail.utils.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/backend/utils/sendEmail.utils.ts b/backend/utils/sendEmail.utils.ts index f0b97ff..23b54e0 100644 --- a/backend/utils/sendEmail.utils.ts +++ b/backend/utils/sendEmail.utils.ts @@ -88,7 +88,7 @@ export const sendEmail = async (data: EmailData) => { level: "error", module: "utils", subModule: "sendmail", - message: `Error sending Email to : ${data.email}`, + message: `Error sending Email to : ${data.email}, Error: ${error.message}`, data: [{ error: error }], notify: false, });