mirror of
https://github.com/GoogleChromeLabs/squoosh.git
synced 2025-11-11 16:26:20 +00:00
Log decoding error
This commit is contained in:
committed by
Ingvar Stepanyan
parent
2a31a1bd84
commit
b4c7792a93
@@ -18,6 +18,7 @@ export async function decodeImage(
|
||||
}
|
||||
return await builtinDecode(blob);
|
||||
} catch (err) {
|
||||
throw Error('Couldnt decode image');
|
||||
console.error(err);
|
||||
throw Error("Couldn't decode image");
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user