diff --git a/src/broadcast/rtc_streamer.ts b/src/broadcast/rtc_streamer.ts index 46d0184..98773db 100644 --- a/src/broadcast/rtc_streamer.ts +++ b/src/broadcast/rtc_streamer.ts @@ -44,7 +44,7 @@ export class WebRTCStreamer extends Streamer { } async stop(reason?: string): Promise { - 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;