From e16bba59453bc90193c4efc830381510a458bb51 Mon Sep 17 00:00:00 2001 From: nexryai <61890205+nexryai@users.noreply.github.com> Date: Sat, 10 Jan 2026 22:39:55 +0900 Subject: [PATCH] Update index.ts --- src/index.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/index.ts b/src/index.ts index dff9e11..de2f54c 100644 --- a/src/index.ts +++ b/src/index.ts @@ -263,6 +263,8 @@ async function streamUploadToDrive(accessToken: string, stream: ReadableStream | const uploadUrl = initRes.headers.get("Location"); if (!uploadUrl) { + console.error(initRes.status); + console.error(await initRes.text()); throw new Error("Failed to get upload URL"); }