|
@@ -41,7 +41,7 @@ async function watchLinkedin(){
|
|
|
}
|
|
|
}).catch( (err) => {
|
|
|
console.log("[DEBUG-LOG][watchLinkedin ERROR]", info.error, err);
|
|
|
- info.error = info.error++
|
|
|
+ info.error++
|
|
|
if (info.error > 50) {
|
|
|
info.active = false
|
|
|
mail.notif(process.env.usermail, process.env.pswd, process.env.contact);
|