Skip to content

Commit

Permalink
fix(cache): log cache errors as trace
Browse files Browse the repository at this point in the history
  • Loading branch information
JamieMagee committed Jun 16, 2021
1 parent d3bce1b commit c901cd4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/util/cache/package/decorator.ts
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@ export function cache<T>({
await packageCache.set(finalNamespace, finalKey, result, ttlMinutes);
return result;
} catch (err) /* istanbul ignore next */ {
logger.error({ err }, 'cache decorate error');
logger.trace({ err }, 'cache decorate error');
throw err;
}
});
Expand Down

0 comments on commit c901cd4

Please sign in to comment.