Bug/fix missing arg reconnect alert (#835)

* Add url as argument to a webhook connection failure alert after reconnect error

* npm audit fix to remove 15 high vulnerabilities

---------

Co-authored-by: Markus Frindt <m.frindt@cognigy.com>
This commit is contained in:
Markus Frindt
2024-07-31 15:25:31 +02:00
committed by GitHub
parent cc33ac1d51
commit b7a3c2970a
2 changed files with 1538 additions and 3000 deletions

View File

@@ -1806,7 +1806,8 @@ Duration=${duration} `
await writeAlerts({
alert_type: AlertType.WEBHOOK_CONNECTION_FAILURE,
account_sid: this.accountSid,
detail: `Session:reconnect error ${err}`
detail: `Session:reconnect error ${err}`,
url: this.application.call_hook.url,
});
} catch (error) {
this.logger.error({error}, 'Error writing WEBHOOK_CONNECTION_FAILURE alert');

4535
package-lock.json generated

File diff suppressed because it is too large Load Diff