From 301dc0e20b669a00b8993ff85e3ff17512b217ef Mon Sep 17 00:00:00 2001 From: Samuel Mannehed Date: Thu, 1 Sep 2016 15:36:04 +0200 Subject: [PATCH] Add logging when creation of RFB fails --- app/ui.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/app/ui.js b/app/ui.js index 7f9bc04a..c9a43507 100644 --- a/app/ui.js +++ b/app/ui.js @@ -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; } },