mirror of
https://github.com/Nezumi-2711/google-drive-s3.git
synced 2026-09-22 05:31:47 +00:00
Update index.ts
This commit is contained in:
@@ -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");
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user