Don't crash when failing to contact the package server

Fixes #2713
This commit is contained in:
Avital Oliver
2014-09-30 00:05:49 -07:00
parent b94da112bb
commit f65873f315

View File

@@ -218,7 +218,7 @@ _updateServerPackageData = function (cachedServerData, options) {
try {
var conn = openPackageServerConnection(options.packageServerUrl);
} catch (err) {
self.handlePackageServerConnectionError(err);
exports.handlePackageServerConnectionError(err);
ret.data = null;
return ret;
}