AI-native design editor. Open-source Figma alternative.
fix(app): show toast when MCP server fails to start
Danila Poyarkov99c5e7b6099b
diff --git a/src/views/EditorView.vue b/src/views/EditorView.vueindex 9590a4cec..57b0f5569 100644--- a/src/views/EditorView.vue+++ b/src/views/EditorView.vue@@ -65,7 +65,11 @@ onMounted(async () => {automationCleanup.value = connectAutomation(getActiveStore, mcp?.authToken ?? null).disconnect}} catch (e) {- console.error(e)+ console.warn('[MCP]', e)+ if (IS_TAURI) {+ const { toast } = await import('@/utils/toast')+ toast.warning('MCP server failed to start. Install with: npm i -g @open-pencil/mcp')+ }}})