From dc3cd52d77e1cd3efdba0fb44b3847628f2582a5 Mon Sep 17 00:00:00 2001 From: Yeolyi Date: Mon, 11 Mar 2024 18:58:11 +0900 Subject: [PATCH] =?UTF-8?q?feat:=20fetchWithRetry=20=EC=97=90=EB=9F=AC=20?= =?UTF-8?q?=EB=A9=94=EC=8B=9C=EC=A7=80=20=EC=83=81=EC=84=B8=ED=99=94?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- apis/index.ts | 2 +- package.json | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/apis/index.ts b/apis/index.ts index 2c0006ba9..720a808c8 100644 --- a/apis/index.ts +++ b/apis/index.ts @@ -56,7 +56,7 @@ const fetchWithRetry = async ( if (e instanceof NetworkError) throw e; if (remain === 0) throw e; - console.error(`fetchWithRetry: ${e}`); + console.error(`fetchWithRetry: ${e} ${url} ${method}`); return await fetchWithRetry(url, method, init, remain - 1); } }; diff --git a/package.json b/package.json index 1f2b77cd4..1e5b3f8aa 100644 --- a/package.json +++ b/package.json @@ -14,13 +14,9 @@ "@emotion/styled": "^11.11.0", "@mui/material": "^5.14.5", "@mui/x-date-pickers": "^6.11.2", - "@types/node": "20.4.0", - "@types/react": "^18.2.64", - "@types/react-dom": "^18.2.19", "autolinker": "^4.0.0", "autoprefixer": "10.4.14", "dayjs": "^1.11.9", - "eslint-config-next": "^14.1.0", "next": "^14.1.0", "next-intl": "^3.7.0", "postcss": "8.4.24", @@ -33,10 +29,14 @@ "tailwindcss": "3.3.2" }, "devDependencies": { + "@types/node": "20.4.0", + "@types/react": "^18.2.64", + "@types/react-dom": "^18.2.19", "@svgr/webpack": "^8.1.0", "@typescript-eslint/eslint-plugin": "^6.21.0", "@typescript-eslint/parser": "^6.21.0", "eslint": "^8.56.0", + "eslint-config-next": "^14.1.0", "eslint-config-prettier": "^8.8.0", "eslint-plugin-react": "^7.33.2", "eslint-plugin-react-hooks": "^4.6.0",