diff --git a/src/index.ts b/src/index.ts index ec4f942..1905e91 100644 --- a/src/index.ts +++ b/src/index.ts @@ -309,6 +309,8 @@ async function streamDownloadFromDrive(accessToken: string, bucket: string, obje }); if (!downloadRes.ok) { + console.error(downloadRes.status); + console.error(await downloadRes.text()); throw new Error("Download failed"); }