diff --git a/bigbluebutton-html5/imports/ui/components/join-handler/component.jsx b/bigbluebutton-html5/imports/ui/components/join-handler/component.jsx index 433be3f486ed7f19e5c91829e271cfe7093ab26f..de557456643ce518fc49a52f9baad31789655751 100644 --- a/bigbluebutton-html5/imports/ui/components/join-handler/component.jsx +++ b/bigbluebutton-html5/imports/ui/components/join-handler/component.jsx @@ -101,7 +101,14 @@ class JoinHandler extends Component { .then((resp) => { setLogoutURL(resp.logoutURL); if (resp.returncode !== 'FAILED') { - logger.info(`User successfully went through main.joinRouteHandler with [${JSON.stringify(resp)}].`); + let logString; + try { + logString = JSON.stringify(resp); + } catch (e) { + logger.error(`Could not stringify object ${resp}`) + logString = resp; + } + logger.info(`User successfully went through main.joinRouteHandler with [${logString}].`); return resolve(resp); } const e = new Error('Session not found');