mirror of
https://github.com/novnc/noVNC.git
synced 2026-05-30 00:49:38 +00:00
Add logging when creation of RFB fails
This commit is contained in:
@@ -351,7 +351,9 @@ var UI;
|
||||
'onDesktopName': UI.updateDesktopName});
|
||||
return true;
|
||||
} 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;
|
||||
}
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user