Log decoding error

This commit is contained in:
Ingvar Stepanyan
2020-11-02 17:48:05 +00:00
committed by Ingvar Stepanyan
parent 2a31a1bd84
commit b4c7792a93

View File

@@ -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");
}
}