We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 85098f1 commit 1a233a9Copy full SHA for 1a233a9
lib/cache.js
@@ -195,7 +195,7 @@ module.exports = class Cache {
195
const { latest, refreshCache, isOutdated, lastUpdate } = this
196
197
if (!lastUpdate || isOutdated()) {
198
- await refreshCache()
+ await refreshCache().catch((error) => console.error(error))
199
}
200
201
return Object.assign({}, latest)
0 commit comments