From 96bae0e077eef6230fc2f40dfa969f6231cc65cd Mon Sep 17 00:00:00 2001 From: David Glasser Date: Mon, 10 Nov 2014 16:24:34 -0800 Subject: [PATCH] Use correct error-printing Console function Changes { [Error: Network error: wss://packages.meteor.com/websocket: Hostname/IP doesn't match certificate's altnames] stack: [Getter] } into Network error: wss://packages.meteor.com/websocket: Hostname/IP doesn't match certificate's altnames --- tools/catalog.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/catalog.js b/tools/catalog.js index 4e44631fda..2c0d8c9ced 100644 --- a/tools/catalog.js +++ b/tools/catalog.js @@ -32,7 +32,7 @@ catalog.Refresh.OnceAtStart.prototype.beforeCommand = function () { if (self.options.ignoreErrors) { Console.debug("Failed to update package catalog, but will continue."); } else { - Console.error(catalog.refreshError); + Console.printError(catalog.refreshError); Console.error("This command requires an up-to-date package catalog. Exiting."); // Avoid circular dependency. throw new (require('./main.js').ExitWithCode)(1);