@@ -38,8 +38,7 @@ async function watchLinkedin(){
info.error = 0
}
}).catch( (err)=> {
- console.log(err);
- throw new error
+ return new Error(err)
})
} catch (error) {
console.log("[DEBUG-LOG][watchLinkedin ERROR]", err);