Don't use errors for things that are really not errors
This commit is contained in:
parent
1bcafe3e7d
commit
e95804ef56
1 changed files with 1 additions and 1 deletions
|
@ -44,7 +44,7 @@ export class WebRTCStreamer extends Streamer {
|
|||
}
|
||||
|
||||
async stop(reason?: string): Promise<void> {
|
||||
Sentry.captureException(new Error(`Connection STOP due to ${reason}`));
|
||||
Sentry.captureMessage(`Connection STOP due to ${reason}`);
|
||||
if (this.ws) {
|
||||
this.ws.close();
|
||||
this.ws = null as any;
|
||||
|
|
Loading…
Reference in a new issue