diff --git a/lib/util/cache/package/decorator.ts b/lib/util/cache/package/decorator.ts index 60fc2590c15ab068cece1fddbaa8cf916a2aeb1f..3a355090a82960a197e4c44d716171660f2f29c7 100644 --- a/lib/util/cache/package/decorator.ts +++ b/lib/util/cache/package/decorator.ts @@ -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); + logger.error({ err }, 'cache decorate error'); throw err; } });