mirror of
https://github.com/jambonz/jambonz-feature-server.git
synced 2025-12-20 08:40:38 +00:00
bugfix: when createCall fails to create a leg, it also generated an unhandled exception
This commit is contained in:
@@ -80,7 +80,7 @@ router.post('/', async(req, res) => {
|
||||
if (err) {
|
||||
logger.error(err, 'createCall Error creating call');
|
||||
res.status(500).send('Call Failure');
|
||||
ep.destroy();
|
||||
return;
|
||||
}
|
||||
/* ok our outbound INVITE is in flight */
|
||||
|
||||
|
||||
Reference in New Issue
Block a user