mirror of
https://github.com/meteor/meteor.git
synced 2026-05-02 03:01:46 -04:00
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
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user