Skip to content

Commit

Permalink
chore: log warning if Repository cache is invalid (#27910)
Browse files Browse the repository at this point in the history
  • Loading branch information
rarkins committed Mar 13, 2024
1 parent 9062fa2 commit bc4d090
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/util/cache/repository/impl/base.ts
Expand Up @@ -63,7 +63,7 @@ export abstract class RepoCacheBase implements RepoCache {
return;
}

logger.debug('Repository cache is invalid');
logger.warn({ err: cacheV13.error }, 'Repository cache is invalid');
} catch (err) /* istanbul ignore next: not easily testable */ {
logger.debug({ err }, 'Error reading repository cache');
}
Expand Down

0 comments on commit bc4d090

Please sign in to comment.