diff options
Diffstat (limited to 'remoting/webapp/host_controller.js')
-rw-r--r-- | remoting/webapp/host_controller.js | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/remoting/webapp/host_controller.js b/remoting/webapp/host_controller.js index c78079c..364e5c2 100644 --- a/remoting/webapp/host_controller.js +++ b/remoting/webapp/host_controller.js @@ -24,7 +24,11 @@ remoting.HostController = function() { console.log('Host version:', version); } }; - this.plugin_.getDaemonVersion(printVersion); + try { + this.plugin_.getDaemonVersion(printVersion); + } catch (err) { + console.log('Host version not available.'); + } }; // Note that the values in the enums below are copied from |