mirror of
https://github.com/renovatebot/renovate.git
synced 2025-01-12 06:56:24 +00:00
logs: better bundler lock logs
This commit is contained in:
parent
f147f35c07
commit
4772076898
1 changed files with 3 additions and 3 deletions
|
@ -150,7 +150,7 @@ export async function updateArtifacts(
|
||||||
err.stdout.includes('Please supply credentials for this source')) ||
|
err.stdout.includes('Please supply credentials for this source')) ||
|
||||||
(err.stderr && err.stderr.includes('Authentication is required'))
|
(err.stderr && err.stderr.includes('Authentication is required'))
|
||||||
) {
|
) {
|
||||||
logger.warn(
|
logger.info(
|
||||||
{ err },
|
{ err },
|
||||||
'Gemfile.lock update failed due to missing credentials - skipping branch'
|
'Gemfile.lock update failed due to missing credentials - skipping branch'
|
||||||
);
|
);
|
||||||
|
@ -185,14 +185,14 @@ export async function updateArtifacts(
|
||||||
}
|
}
|
||||||
logger.info(
|
logger.info(
|
||||||
{ err },
|
{ err },
|
||||||
'Cannot resolve bundler lock update error - skipping branch.'
|
'Gemfile.lock update failed due to incompatible packages - skipping branch'
|
||||||
);
|
);
|
||||||
// Do not set global.repoCache because we don't want to stop trying other branches
|
// Do not set global.repoCache because we don't want to stop trying other branches
|
||||||
throw new Error(BUNDLER_COULD_NOT_RESOLVE);
|
throw new Error(BUNDLER_COULD_NOT_RESOLVE);
|
||||||
}
|
}
|
||||||
logger.warn(
|
logger.warn(
|
||||||
{ err },
|
{ err },
|
||||||
'Unknown bundler lock file update error - skipping branch.'
|
'Gemfile.lock update failed due to unknown reason - skipping branch'
|
||||||
);
|
);
|
||||||
global.repoCache.bundlerArtifactsError = BUNDLER_UNKNOWN_ERROR;
|
global.repoCache.bundlerArtifactsError = BUNDLER_UNKNOWN_ERROR;
|
||||||
throw new Error(BUNDLER_UNKNOWN_ERROR);
|
throw new Error(BUNDLER_UNKNOWN_ERROR);
|
||||||
|
|
Loading…
Reference in a new issue