fix(web): links to issues no longer strand the pull request viewer (#14242)

This commit is contained in:
oliver authored and GitHub committed 2026-10-03 22:40:10 -03:00
1 parent 2b8bb0c188
commit 7bc161f869
12 files changed
+73 -6

No files matched your search

@@ -477,7 +477,12 @@ function toPullRequestError(
return (error) =>
isProviderUnusable(error)
? toUnavailableError(error)
: new PullRequestOperationError({ operation, detail: error.detail, cause: error });
: new PullRequestOperationError({
operation,
detail: error.detail,
...(error.reason === "not-found" ? { reason: "not-found" as const } : {}),
cause: error,
});
}
function withRateLimitBackoff(