Update index.ts

This commit is contained in:
nexryai
2026-01-12 21:12:29 +09:00
committed by GitHub
parent a20dd44a7b
commit 2fd38076a6
+2
View File
@@ -309,6 +309,8 @@ async function streamDownloadFromDrive(accessToken: string, bucket: string, obje
}); });
if (!downloadRes.ok) { if (!downloadRes.ok) {
console.error(downloadRes.status);
console.error(await downloadRes.text());
throw new Error("Download failed"); throw new Error("Download failed");
} }