diff --git a/lib/platform/github/gh-got-wrapper.js b/lib/platform/github/gh-got-wrapper.js index 23f801667fdd294acf15227c7cb025100f332445..1ddf004130d9fc1082838e1d748b7f87167ed836 100644 --- a/lib/platform/github/gh-got-wrapper.js +++ b/lib/platform/github/gh-got-wrapper.js @@ -11,11 +11,11 @@ function sleep(ms) { async function get(path, opts, retries = 5) { const method = opts && opts.method ? opts.method : 'get'; - logger.debug(`${method.toUpperCase()} ${path} [retries=${retries}]`); if (method === 'get' && cache[path]) { logger.trace({ path }, 'Returning cached result'); return cache[path]; } + logger.debug(`${method.toUpperCase()} ${path} [retries=${retries}]`); try { if (appMode) { /* eslint-disable no-param-reassign */