no need to throw here

This commit is contained in:
Bruno Windels 2022-04-07 16:54:24 +02:00
parent 79411437cf
commit 1dc46127c3
1 changed files with 2 additions and 1 deletions

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;
}
});
}