refactor(send email): changes the error message to show the true message in the error
All checks were successful
Build and Push LST Docker Image / docker (push) Successful in 2m3s
All checks were successful
Build and Push LST Docker Image / docker (push) Successful in 2m3s
This commit is contained in:
@@ -88,7 +88,7 @@ export const sendEmail = async (data: EmailData) => {
|
|||||||
level: "error",
|
level: "error",
|
||||||
module: "utils",
|
module: "utils",
|
||||||
subModule: "sendmail",
|
subModule: "sendmail",
|
||||||
message: `Error sending Email to : ${data.email}`,
|
message: `Error sending Email to : ${data.email}, Error: ${error.message}`,
|
||||||
data: [{ error: error }],
|
data: [{ error: error }],
|
||||||
notify: false,
|
notify: false,
|
||||||
});
|
});
|
||||||
|
|||||||
Reference in New Issue
Block a user