From 81e17e69970612d1d520fbb92284d23af8ecdc84 Mon Sep 17 00:00:00 2001 From: Eric Pelland Date: Mon, 24 Oct 2022 11:12:38 -0400 Subject: [PATCH] stop sending emalis on error. Annoying as heck --- index.js | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) diff --git a/index.js b/index.js index 75a24d0..960aad9 100644 --- a/index.js +++ b/index.js @@ -56,13 +56,12 @@ function search(accounts) { function emailError(err, restart = false){ console.log(err) - console.log(restart) - transporter.sendMail({ - from: '"Random Ethereum Scanner" ', - to: process.env.EMAIL_TO, // Test email address - subject: "Error detected", - text: err.toString(), - }).catch((err)=>{writeToFile('/output/err.txt', err.toString())}) + // transporter.sendMail({ + // from: '"Random Ethereum Scanner" ', + // to: process.env.EMAIL_TO, // Test email address + // subject: "Error detected", + // text: err.toString(), + // }).catch((err)=>{writeToFile('/output/err.txt', err.toString())}) if (restart) { main(count, balancesFound) }