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
@@ -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" };
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user