fix exception in webrtc error logging

This commit is contained in:
Chad Pilkey 2016-11-15 18:26:36 -05:00
parent f0a18f6210
commit cb77ada8f2

View File

@ -209,7 +209,7 @@ package org.bigbluebutton.modules.phone.managers
logData.user.reason = errorString;
logData.tags = ["voice", "webrtc"];
logData.message = "WebRtc Echo test failed.";
logData.errorEvent = event;
logData.errorEvent = {code: event.errorCode, cause: event.cause};
LOGGER.info(jsonXify(logData));
sendWebRTCAlert(ResourceUtil.getInstance().getString("bbb.webrtcWarning.title"),
@ -270,7 +270,7 @@ package org.bigbluebutton.modules.phone.managers
var logData:Object = UsersUtil.initLogData();
logData.tags = ["voice", "webrtc"];
logData.errorEvent = event;
logData.errorEvent = {code: event.errorCode, cause: event.cause};
LOGGER.info(jsonXify(logData));
sendWebRTCAlert(ResourceUtil.getInstance().getString("bbb.webrtcWarning.title"),