Skip to content

Commit

Permalink
Allow medic conf to process wven when it does not have the latest upd…
Browse files Browse the repository at this point in the history
…ate data
  • Loading branch information
nomulex committed Jan 24, 2019
1 parent 7a2cb0e commit 80dcd3c
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/lib/check-for-updates.js
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,8 @@ module.exports = (options) => {
.catch(err => {
if(options.nonFatal && err.cause && err.cause.code === 'ENOTFOUND') {
warn('Could not check NPM for updates. You may be offline.');
} else throw err;
})
} else {
warn(`Could not check NPM for updates. Error:${err.message}`);
} })
;
};

0 comments on commit 80dcd3c

Please sign in to comment.