diff --git a/apps/client/src/widgets/type_widgets/helpers/SvgSplitEditor.tsx b/apps/client/src/widgets/type_widgets/helpers/SvgSplitEditor.tsx index 04fd78829..9a1c1dd4e 100644 --- a/apps/client/src/widgets/type_widgets/helpers/SvgSplitEditor.tsx +++ b/apps/client/src/widgets/type_widgets/helpers/SvgSplitEditor.tsx @@ -77,7 +77,7 @@ export default function SvgSplitEditor({ ntxId, note, attachmentName, renderSvg, if (!attachments.find((a) => a.title === `${attachmentName}.svg`)) { onSave(); } - }); + }).catch(e => console.error("Failed to get attachments for SVGSplitEditor", e)); }, [ note, svg, attachmentName, onSave ]); // Import/export