yayan 1 yıl önce
ebeveyn
işleme
17da49a0d1
1 değiştirilmiş dosya ile 3 ekleme ve 1 silme
  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`);