Skip to content

Commit

Permalink
fix(whatsapp.gblib): #262 wrong key value.
Browse files Browse the repository at this point in the history
  • Loading branch information
rodrigorodriguez committed Mar 7, 2023
1 parent 6f62453 commit 565ad4a
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions packages/core.gbapp/services/GBMinService.ts
Original file line number Diff line number Diff line change
Expand Up @@ -911,7 +911,7 @@ export class GBMinService {
);
const botToken = await credentials.getToken();
const headers = { Authorization: `Bearer ${botToken}` };
const t = new SystemKeywords( );
const t = new SystemKeywords();
const data = await t.getByHttp({
pid: 0,
url: file.contentUrl,
Expand Down Expand Up @@ -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(
Expand Down

0 comments on commit 565ad4a

Please sign in to comment.