mirror of
https://github.com/renovatebot/renovate.git
synced 2025-01-11 06:26:26 +00:00
fix(limits): Re-throw ExternalHostError
on calling getBranchPr
(#17721)
This commit is contained in:
parent
cbc78e30fd
commit
049d624be9
1 changed files with 6 additions and 1 deletions
|
@ -60,9 +60,14 @@ export async function getConcurrentPrsRemaining(
|
||||||
openPrs.push(pr);
|
openPrs.push(pr);
|
||||||
}
|
}
|
||||||
} catch (err) {
|
} catch (err) {
|
||||||
|
// istanbul ignore if
|
||||||
|
if (err instanceof ExternalHostError) {
|
||||||
|
throw err;
|
||||||
|
} else {
|
||||||
// no-op
|
// no-op
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
logger.debug(`${openPrs.length} PRs are currently open`);
|
logger.debug(`${openPrs.length} PRs are currently open`);
|
||||||
const concurrentRemaining = Math.max(
|
const concurrentRemaining = Math.max(
|
||||||
0,
|
0,
|
||||||
|
|
Loading…
Reference in a new issue