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);
|
||||
actions.addImageData(stickerImage);
|
||||
} 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.addToast({
|
||||
key:
|
||||
|
|
Loading…
Add table
Reference in a new issue