diff --git a/bigbluebutton-html5/imports/api/audio/client/bridge/kurento.js b/bigbluebutton-html5/imports/api/audio/client/bridge/kurento.js
old mode 100644
new mode 100755
index aa91ad5c31..95bd3414cf
--- a/bigbluebutton-html5/imports/api/audio/client/bridge/kurento.js
+++ b/bigbluebutton-html5/imports/api/audio/client/bridge/kurento.js
@@ -89,7 +89,10 @@ export default class KurentoAudioBridge extends BaseAudioBridge {
};
const onFail = (error) => {
- const { reason } = error;
+ let reason = 'Undefined';
+ if (error) {
+ reason = error.reason || error.id || error;
+ }
this.callback({
status: this.baseCallStates.failed,
error: this.baseErrorCodes.CONNECTION_ERROR,