|
@@ -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`);
|