Skip to content
Snippets Groups Projects
Commit f724a814 authored by Rhys Arkins's avatar Rhys Arkins
Browse files

fix: clarify debug logs for onboarding discovery

parent 40852754
No related branches found
No related tags found
No related merge requests found
...@@ -14,6 +14,9 @@ export async function getOnboardingConfig( ...@@ -14,6 +14,9 @@ export async function getOnboardingConfig(
config.repository.split('/')[0] config.repository.split('/')[0]
}/renovate-config`; }/renovate-config`;
logger.debug(
'Checking if this org/owner has a default Renovate preset which can be used.'
);
try { try {
await getPreset(organizationConfigPresetName, config); await getPreset(organizationConfigPresetName, config);
organizationConfigRepoExists = true; organizationConfigRepoExists = true;
...@@ -22,6 +25,9 @@ export async function getOnboardingConfig( ...@@ -22,6 +25,9 @@ export async function getOnboardingConfig(
logger.warn({ err }, 'Unknown error fetching default owner preset'); logger.warn({ err }, 'Unknown error fetching default owner preset');
} }
// Organization preset did not exist // Organization preset did not exist
logger.debug(
'No default org/owner preset found, so the default onboarding config will be used instead. Note: do not be concerned with any 404 messages that preceded this.'
);
} }
if (organizationConfigRepoExists) { if (organizationConfigRepoExists) {
onboardingConfig = { onboardingConfig = {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment