bugfix: when createCall fails to create a leg, it also generated an unhandled exception

This commit is contained in:
Dave Horton
2020-04-15 11:03:32 -04:00
parent 12b6f58a0d
commit 592b0fa2aa

View File

@@ -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 */