yayan 1 rok pred
rodič
commit
17da49a0d1
1 zmenil súbory, kde vykonal 3 pridanie a 1 odobranie
  1. 3 1
      whatsapp-client.js

+ 3 - 1
whatsapp-client.js

@@ -22,7 +22,9 @@ class WhasAppClient {
         });
         this.retryQr = 0;
 
-        this.client.initialize().catch(_ => _);
+        this.client.initialize().catch(error => {
+            console.log(`error:${error}`);
+        });
 
         this.client.on('authenticated', async () => {
             console.log(`be:${this.clientId}:Authenticated`);