Index: remoting/webapp/host_controller.js |
diff --git a/remoting/webapp/host_controller.js b/remoting/webapp/host_controller.js |
index e3ab141a9e83a606f981bcceae9e36820e795f2f..e8db7f6f8387252e2ce81787a98b934322eeea39 100644 |
--- a/remoting/webapp/host_controller.js |
+++ b/remoting/webapp/host_controller.js |
@@ -319,7 +319,12 @@ remoting.HostController.prototype.onHostListRefresh = |
} |
onDone(); |
}; |
- this.plugin_.getDaemonConfig(onConfig); |
+ try { |
+ this.plugin_.getDaemonConfig(onConfig); |
+ } catch (err) { |
+ this.setHost(null); |
+ onDone(); |
Wez
2012/04/24 02:17:21
nit: You could just onConfig('{}') here.
|
+ } |
}; |
/** @type {remoting.HostController} */ |