fix(whatsapp.gblib): #262 wrong key value.

This commit is contained in:
rodrigorodriguez 2023-03-07 07:49:00 -03:00
parent 6f62453f4e
commit 565ad4ab6d

View file

@ -1014,7 +1014,9 @@ export class GBMinService {
await this.processEventActivity(min, user, context, step);
}
} catch (error) {
const msg = `ERROR: ${error.message} ${error.stack ? error.stack : ''}`;
const msg = `ERROR: ${error.message} ${error.error ? error.error.body : ''} ${
error.error ? (error.error.stack ? error.error.stack : '') : ''
}`;
GBLog.error(msg);
await min.conversationalService.sendText(