From 8b4a2b98d05f741fe64e31bceaa00a0e24314d29 Mon Sep 17 00:00:00 2001 From: sunnylqm Date: Thu, 27 Nov 2025 14:57:52 +0800 Subject: [PATCH] v9.2.8 --- lib/utils.ts | 6 ------ package.json | 2 +- 2 files changed, 1 insertion(+), 7 deletions(-) diff --git a/lib/utils.ts b/lib/utils.ts index b998c03..06768e6 100644 --- a/lib/utils.ts +++ b/lib/utils.ts @@ -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) { diff --git a/package.json b/package.json index 5161638..ffce3e0 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "react-native-update", - "version": "9.2.7", + "version": "9.2.8", "description": "react-native hot update", "main": "lib/index.ts", "scripts": {