mirror of
https://github.com/jambonz/jambonz-feature-server.git
synced 2026-10-19 01:44:18 +00:00
bugfix: when createCall fails to create a leg, it also generated an unhandled exception
This commit is contained in:
1 parent
12b6f58a0d
commit
592b0fa2aa
1 file changed
+1
@@ -80,6 +80,7 @@ router.post('/', async(req, res) => {
|
||||
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