Skip to content
Snippets Groups Projects
Unverified Commit 049d624b authored by Sergei Zharinov's avatar Sergei Zharinov Committed by GitHub
Browse files

fix(limits): Re-throw `ExternalHostError` on calling `getBranchPr` (#17721)

parent cbc78e30
No related merge requests found
......@@ -60,7 +60,12 @@ export async function getConcurrentPrsRemaining(
openPrs.push(pr);
}
} catch (err) {
// no-op
// istanbul ignore if
if (err instanceof ExternalHostError) {
throw err;
} else {
// no-op
}
}
}
logger.debug(`${openPrs.length} PRs are currently open`);
......
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