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

@@ -82,6 +82,12 @@ export function bitbucketProviderFailure(
...(error.retryAt === undefined ? {} : { retryAt: error.retryAt }),
};
}
if (
(error._tag === "BitbucketResponseError" || error._tag === "BitbucketResponseBodyReadError") &&
error.status === 404
) {
return { reason: "not-found" };
}
return { reason: "failed" };
}