Add logging when creation of RFB fails
This commit is contained in:
parent
7ae53db9cd
commit
301dc0e20b
|
@ -351,7 +351,9 @@ var UI;
|
||||||
'onDesktopName': UI.updateDesktopName});
|
'onDesktopName': UI.updateDesktopName});
|
||||||
return true;
|
return true;
|
||||||
} catch (exc) {
|
} catch (exc) {
|
||||||
UI.showStatus('Unable to create RFB client -- ' + exc, 'error');
|
var msg = 'Unable to create RFB client -- ' + exc;
|
||||||
|
Util.Error(msg);
|
||||||
|
UI.showStatus(msg, 'error');
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
Loading…
Reference in New Issue