1
0
mirror of https://gitcode.com/gh_mirrors/re/react-native-pushy.git synced 2025-12-20 04:35:13 +08:00
Code Issues Packages Projects Releases Wiki Activity GitHub Gitee
This commit is contained in:
sunnylqm
2025-11-27 14:57:52 +08:00
parent 19f04bcc4c
commit 8b4a2b98d0
2 changed files with 1 additions and 7 deletions

View File

@@ -88,12 +88,6 @@ export const enhancedFetch = async (
isRetry = false,
) => {
return fetch(url, params)
.then((r) => {
if (r.ok) {
return r;
}
throw new Error(`${r.status} ${r.statusText}`);
})
.catch((e) => {
logger('fetch error', url, e);
if (isRetry) {