fix(web): links to issues no longer strand the pull request viewer (#14242)
This commit is contained in:
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(
|
||||
|
||||
Reference in new issue
Block a user