diff --git a/bigbluebutton-html5/imports/ui/components/video-preview/component.jsx b/bigbluebutton-html5/imports/ui/components/video-preview/component.jsx index 13bb975f0c6a37842f3ef829984a67b46d01d425..de0b9899856a131c9e72eb21a62a8c177fae5b10 100644 --- a/bigbluebutton-html5/imports/ui/components/video-preview/component.jsx +++ b/bigbluebutton-html5/imports/ui/components/video-preview/component.jsx @@ -4,6 +4,7 @@ import { defineMessages, injectIntl, intlShape } from 'react-intl'; import Button from '/imports/ui/components/button/component'; import ModalBase from '/imports/ui/components/modal/base/component'; import { notify } from '/imports/ui/services/notification'; +import logger from '/imports/startup/client/logger'; import { styles } from './styles'; const VIDEO_CONSTRAINTS = Meteor.settings.public.kurento.cameraConstraints; @@ -106,6 +107,7 @@ class VideoPreview extends Component { this.deviceStream = stream; }).catch((error) => { notify(intl.formatMessage(intlMessages.sharingError), 'error', 'video'); + logger.error(error); }); }