Remove hardcoded emails
This commit is contained in:
@@ -34,14 +34,6 @@ const fs = __webpack_require__(7147);
|
||||
const initialText = fs.readFileSync(`./.tmp/error.log`, "utf-8");
|
||||
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,
|
||||
// });
|
||||
// }
|
||||
}; ////////////////////////////////////////
|
||||
////////////////////////////////////////
|
||||
////////////////////////////////////////
|
||||
|
||||
@@ -34,14 +34,6 @@ const fs = __webpack_require__(7147);
|
||||
const initialText = fs.readFileSync(`./.tmp/error.log`, "utf-8");
|
||||
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,
|
||||
// });
|
||||
// }
|
||||
}; ////////////////////////////////////////
|
||||
////////////////////////////////////////
|
||||
////////////////////////////////////////
|
||||
|
||||
@@ -34,14 +34,6 @@ const fs = __webpack_require__(7147);
|
||||
const initialText = fs.readFileSync(`./.tmp/error.log`, "utf-8");
|
||||
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,
|
||||
// });
|
||||
// }
|
||||
}; ////////////////////////////////////////
|
||||
////////////////////////////////////////
|
||||
////////////////////////////////////////
|
||||
|
||||
@@ -34,14 +34,6 @@ const fs = __webpack_require__(7147);
|
||||
const initialText = fs.readFileSync(`./.tmp/error.log`, "utf-8");
|
||||
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