Skip to content

Commit

Permalink
chore(lookup): include package name in warning message (#24998)
Browse files Browse the repository at this point in the history
  • Loading branch information
colinodell committed Oct 4, 2023
1 parent b73cf03 commit 6aaf8df
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion lib/workers/repository/process/lookup/index.spec.ts
Expand Up @@ -1257,7 +1257,7 @@ describe('workers/repository/process/lookup/index', () => {
expect(res.warnings).toHaveLength(1);
expect(res.warnings[0]).toEqual({
message:
'Could not determine new digest for update (datasource: github-tags)',
'Could not determine new digest for update (github-tags package angular/angular)',
topic: 'angular/angular',
});
});
Expand Down
2 changes: 1 addition & 1 deletion lib/workers/repository/process/lookup/index.ts
Expand Up @@ -490,7 +490,7 @@ export async function lookupUpdates(
// Context: https://github.com/renovatebot/renovate/pull/20175#discussion_r1102615059.
if (config.currentDigest) {
res.warnings.push({
message: `Could not determine new digest for update (datasource: ${config.datasource})`,
message: `Could not determine new digest for update (${config.datasource} package ${config.packageName})`,
topic: config.packageName,
});
}
Expand Down

0 comments on commit 6aaf8df

Please sign in to comment.