Browse Source

update func

niemes 2 years ago
parent
commit
cbb29b5b0f
1 changed files with 1 additions and 1 deletions
  1. 1 1
      index.js

+ 1 - 1
index.js

@@ -56,7 +56,7 @@ async function watchLinkedin(){
                 info.followers = followersNb.firstDegreeSize
                 info.error = 0 // cleanUp error
             }
-        }).catch( (err) => {
+        }).catch( async (err) => {
             console.log("[DEBUG-LOG][watchLinkedin ERROR]", info.error, err);
             info.error++
             if (info.error > 50) {