yayan 1 年之前
父节点
当前提交
17da49a0d1
共有 1 个文件被更改,包括 3 次插入1 次删除
  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`);