Merge pull request #1836 from vector-im/dbkr/add_double_mic_sentry_message
Add sentry message if we hit the extra mic check
This commit is contained in:
@@ -23,6 +23,7 @@ import {
|
|||||||
} from "livekit-client";
|
} from "livekit-client";
|
||||||
import { useCallback, useEffect, useRef, useState } from "react";
|
import { useCallback, useEffect, useRef, useState } from "react";
|
||||||
import { logger } from "matrix-js-sdk/src/logger";
|
import { logger } from "matrix-js-sdk/src/logger";
|
||||||
|
import * as Sentry from "@sentry/react";
|
||||||
|
|
||||||
import { SFUConfig, sfuConfigEquals } from "./openIDSFU";
|
import { SFUConfig, sfuConfigEquals } from "./openIDSFU";
|
||||||
|
|
||||||
@@ -65,6 +66,9 @@ async function doConnect(
|
|||||||
logger.warn(
|
logger.warn(
|
||||||
"Pre-creating audio track but participant already appears to have an microphone track: this shouldn't happen!",
|
"Pre-creating audio track but participant already appears to have an microphone track: this shouldn't happen!",
|
||||||
);
|
);
|
||||||
|
Sentry.captureMessage(
|
||||||
|
"Pre-creating audio track but participant already appears to have an microphone track!",
|
||||||
|
);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user