1
0
mirror of https://github.com/matrix-org/matrix-react-sdk.git synced 2025-11-07 10:46:24 +03:00

console.error

Co-authored-by: Travis Ralston <travpc@gmail.com>
This commit is contained in:
David Baker
2021-03-05 10:34:03 +00:00
committed by GitHub
parent c80cbc38dd
commit 8bcf0f0838

View File

@@ -62,7 +62,7 @@ const WidgetContextMenu: React.FC<IProps> = ({
try { try {
await startJitsiAudioLivestream(widgetMessaging, roomId); await startJitsiAudioLivestream(widgetMessaging, roomId);
} catch (err) { } catch (err) {
console.log("Failed to start livestream", err); console.error("Failed to start livestream", err);
// XXX: won't i18n well, but looks like widget api only support 'message'? // XXX: won't i18n well, but looks like widget api only support 'message'?
const message = err.message || _t("Unable to start audio streaming."); const message = err.message || _t("Unable to start audio streaming.");
Modal.createTrackedDialog('WidgetContext Menu', 'Livestream failed', ErrorDialog, { Modal.createTrackedDialog('WidgetContext Menu', 'Livestream failed', ErrorDialog, {