no need to throw here

This commit is contained in:
Bruno Windels 2022-04-07 16:54:24 +02:00
parent 79411437cf
commit 1dc46127c3

View file

@ -250,7 +250,8 @@ export class PeerCall implements IDisposable {
break;
case EventType.Hangup:
default:
throw new Error(`Unknown event type for call: ${message.type}`);
log.log(`Unknown event type for call: ${message.type}`);
break;
}
});
}