fix(core.gbapp): More information on bot creation.
This commit is contained in:
parent
761caa0c61
commit
7e7fb277d7
1 changed files with 1 additions and 2 deletions
|
@ -810,12 +810,11 @@ export class WhatsappDirectLine extends GBService {
|
|||
}
|
||||
|
||||
try {
|
||||
GBLog.info(`Message [${msg}] is being sent to ${to}...`);
|
||||
// tslint:disable-next-line: await-promise
|
||||
if (this.provider !== "GeneralBots") {
|
||||
await request.post(options);
|
||||
}
|
||||
GBLog.info(`Message [${msg}] sent to ${to}.`);
|
||||
|
||||
} catch (error) {
|
||||
GBLog.error(`Error sending message to Whatsapp provider ${error.message}`);
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue