Skip to content

Commit

Permalink
fix(platform/bitbucket): use debug logs if issues unavailable/disabled (
Browse files Browse the repository at this point in the history
renovatebot#34200)

Co-authored-by: Rhys Arkins <[email protected]>
  • Loading branch information
RahulGautamSingh and rarkins authored Feb 15, 2025
1 parent 030130c commit c8e5060
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 1 addition & 1 deletion lib/modules/platform/bitbucket/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -600,7 +600,7 @@ export async function ensureIssue({
logger.debug(`ensureIssue()`);
/* istanbul ignore if */
if (!config.has_issues) {
logger.warn('Issues are disabled - cannot ensureIssue');
logger.debug('Issues are disabled - cannot ensureIssue');
logger.debug(`Failed to ensure Issue with title:${title}`);
return null;
}
Expand Down
1 change: 0 additions & 1 deletion lib/modules/platform/bitbucket/schema.ts
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,6 @@ export const RepoInfo = z
name: z.string(),
}),
has_issues: z.boolean().catch(() => {
logger.once.warn('Bitbucket: "has_issues" field missing from repo info');
return false;
}),
uuid: z.string(),
Expand Down

0 comments on commit c8e5060

Please sign in to comment.