Add logging when creation of RFB fails

This commit is contained in:
Samuel Mannehed 2016-09-01 15:36:04 +02:00
parent 7ae53db9cd
commit 301dc0e20b
1 changed files with 3 additions and 1 deletions

View File

@ -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;
}
},