From a07000ed4425cb59e82b9f0de0cf6c1a3f1dee8c Mon Sep 17 00:00:00 2001 From: XiaoMo Date: Thu, 8 Jan 2026 23:33:56 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E5=9C=A8API=E9=94=99=E8=AF=AF=E4=BF=A1?= =?UTF-8?q?=E6=81=AF=E4=B8=AD=E5=8C=85=E5=90=AB=E5=93=8D=E5=BA=94=E4=BD=93?= =?UTF-8?q?=E5=86=85=E5=AE=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/index.js b/index.js index 8351437..bdfe985 100644 --- a/index.js +++ b/index.js @@ -58,7 +58,7 @@ async function fetchApi(token, query) { }); if (statusCode !== 200) { - throw new Error(`API Status Code: ${statusCode}`); + throw new Error(`API Status Code: ${statusCode}, ${await body.text()}`); } const data = await body.json();