Better explanation if we were offline

This commit is contained in:
Justin SB
2014-10-16 15:35:17 -07:00
committed by David Glasser
parent 37e71e1675
commit 871166db46

View File

@@ -77,7 +77,9 @@ var refreshOfficialCatalogOrDie = function (options) {
};
var explainIfRefreshFailed = function (command) {
if (command.catalogRefresh.refreshFailed) {
if (catalog.official.offline) {
Console.info("(But we're offline, so we didn't update the local catalog, so it might exist)");
} else if (command.catalogRefresh.refreshFailed) {
Console.info("(But the update of the local catalog failed, so it might exist)");
}
};