Better error reporting in StickerGrid
This commit is contained in:
parent
00e4a4c1fd
commit
f720904ca5
1 changed files with 4 additions and 1 deletions
|
@ -59,7 +59,10 @@ const InnerGrid = SortableContainer(
|
||||||
const stickerImage = await processStickerImage(path);
|
const stickerImage = await processStickerImage(path);
|
||||||
actions.addImageData(stickerImage);
|
actions.addImageData(stickerImage);
|
||||||
} catch (e) {
|
} catch (e) {
|
||||||
window.SignalContext.log.error('Error processing image:', e);
|
window.SignalContext.log.error(
|
||||||
|
'Error processing image:',
|
||||||
|
e?.stack ? e.stack : String(e)
|
||||||
|
);
|
||||||
actions.removeSticker(path);
|
actions.removeSticker(path);
|
||||||
actions.addToast({
|
actions.addToast({
|
||||||
key:
|
key:
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue