Remove hardcoded emails
This commit is contained in:
@@ -48,15 +48,6 @@ module.exports = async function serverError({
|
||||
|
||||
fs.writeFileSync(`./.tmp/error.log`, log);
|
||||
fs.appendFileSync(`./.tmp/error.log`, `\n\n\n\n\n${initialText}`);
|
||||
|
||||
// if (process.env.NODE_ENV?.match(/production/) && !noMail) {
|
||||
// handleNodemailer({
|
||||
// to: "benoti.san@gmail.com",
|
||||
// subject: "SERVER Error in Datasquirel Application",
|
||||
// text: "An Error occured in Datasquirel Application Server Side",
|
||||
// html: log,
|
||||
// });
|
||||
// }
|
||||
};
|
||||
|
||||
////////////////////////////////////////
|
||||
|
||||
Reference in New Issue
Block a user