fix: added delay in chatwoot receive webhook

This commit is contained in:
Davidson Gomes 2023-09-05 08:39:51 -03:00
parent 384e311c7a
commit 23534da27d

View File

@ -83,7 +83,7 @@ function bootstrap() {
httpService.post('', errorData); httpService.post('', errorData);
} }
if (err['message'].includes('No sessions') || err['message'].includes('Connection Closed')) { if (err['message'].includes('No sessions')) {
console.log(err['message']); console.log(err['message']);
process.exit(1); process.exit(1);
} }