mirror of
https://github.com/enricoros/big-AGI.git
synced 2026-05-10 21:50:14 -07:00
BlobUtils: minor fix
This commit is contained in:
@@ -77,7 +77,7 @@ export async function convert_Base64WithMimeType_To_Blob(base64: string, blobMim
|
||||
const response = await fetch(dataUrl);
|
||||
if (!response.ok) {
|
||||
// noinspection ExceptionCaughtLocallyJS
|
||||
throw new Error(`Fetch failed (${response.status})`);
|
||||
throw new Error(`Fetch Blob failed (${response.status})`);
|
||||
}
|
||||
|
||||
// Empty blob from successful fetch is valid - represents empty content
|
||||
|
||||
Reference in New Issue
Block a user