Skip to content
Snippets Groups Projects
Commit da7ad5b3 authored by Rhys Arkins's avatar Rhys Arkins
Browse files

chore: downgrade cached result log to trace

parent f721573e
Branches
Tags
No related merge requests found
...@@ -13,7 +13,7 @@ async function get(path, opts, retries = 5) { ...@@ -13,7 +13,7 @@ async function get(path, opts, retries = 5) {
const method = opts && opts.method ? opts.method : 'get'; const method = opts && opts.method ? opts.method : 'get';
logger.debug(`${method.toUpperCase()} ${path} [retries=${retries}]`); logger.debug(`${method.toUpperCase()} ${path} [retries=${retries}]`);
if (method === 'get' && cache[path]) { if (method === 'get' && cache[path]) {
logger.debug({ path }, 'Returning cached result'); logger.trace({ path }, 'Returning cached result');
return cache[path]; return cache[path];
} }
try { try {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment