Commit 5a2a9834 authored by jamiewalch@google.com's avatar jamiewalch@google.com

Trap exceptions calling getDaemonConfig on ChromeOS.

BUG=None
TEST=Manual

Review URL: https://chromiumcodereview.appspot.com/10198006

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@133605 0039d316-1c4b-4281-b951-d872f2087c98
parent b9d8ac34
...@@ -319,7 +319,12 @@ remoting.HostController.prototype.onHostListRefresh = ...@@ -319,7 +319,12 @@ remoting.HostController.prototype.onHostListRefresh =
} }
onDone(); onDone();
}; };
this.plugin_.getDaemonConfig(onConfig); try {
this.plugin_.getDaemonConfig(onConfig);
} catch (err) {
this.setHost(null);
onDone();
}
}; };
/** @type {remoting.HostController} */ /** @type {remoting.HostController} */
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment