bugfix: dep in bluebird was causing issue, update to latest synthAudio

This commit is contained in:
Dave Horton
2021-02-10 09:39:20 -05:00
parent f8e84b5ad0
commit a7e0fb2e8a
5 changed files with 46 additions and 24 deletions

View File

@@ -6,7 +6,7 @@ const CallInfo = require('../session/call-info');
const assert = require('assert');
const ConfirmCallSession = require('../session/confirm-call-session');
const selectSbc = require('./select-sbc');
const Registrar = require('jambonz-mw-registrar');
const Registrar = require('@jambonz/mw-registrar');
const registrar = new Registrar({
host: process.env.JAMBONES_REDIS_HOST,
port: process.env.JAMBONES_REDIS_PORT || 6379

View File

@@ -79,7 +79,7 @@ class Requestor {
await this.post(url, params, this.authHeader) :
await bent(method, 'buffer', 200, 201, 202)(url, params, basicAuth(username, password));
} catch (err) {
this.logger.info({baseUrl: this.baseUrl, url: err.statusCode},
this.logger.info({baseUrl: this.baseUrl, url, statusCode: err.statusCode},
`web callback returned unexpected error code ${err.statusCode}`);
throw err;
}