1
0
mirror of https://gitcode.com/gh_mirrors/re/react-native-pushy.git synced 2025-12-16 10:02:34 +08:00
Code Issues Packages Projects Releases Wiki Activity GitHub Gitee
This commit is contained in:
sunnylqm
2025-11-27 14:47:42 +08:00
parent e5c08aaa12
commit eb519d0307
4 changed files with 3 additions and 18 deletions

View File

@@ -111,17 +111,6 @@ export const enhancedFetch = async (
isRetry = false,
): Promise<Response> => {
return fetch(url, params)
.then(r => {
if (r.ok) {
return r;
}
throw Error(
i18n.t('error_http_status', {
status: r.status,
statusText: r.statusText,
}),
);
})
.catch(e => {
log('fetch error', url, e);
if (isRetry) {