mirror of
https://github.com/renovatebot/renovate.git
synced 2025-01-13 07:26:26 +00:00
logs: log platform error message in git
This commit is contained in:
parent
6ddda0fa4b
commit
095cb3b002
1 changed files with 1 additions and 0 deletions
|
@ -64,6 +64,7 @@ function checkForPlatformFailure(err: Error): void {
|
||||||
];
|
];
|
||||||
for (const errorStr of platformFailureStrings) {
|
for (const errorStr of platformFailureStrings) {
|
||||||
if (err.message.includes(errorStr)) {
|
if (err.message.includes(errorStr)) {
|
||||||
|
logger.debug({ err }, 'Converting git error to ExternalHostError');
|
||||||
throw new ExternalHostError(err, 'git');
|
throw new ExternalHostError(err, 'git');
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue