From 1a352c68068669792aba73e02fab5dd83f2519d4 Mon Sep 17 00:00:00 2001 From: Victor Giers Date: Thu, 23 Apr 2026 08:08:11 +0200 Subject: [PATCH] auto-git: [change] src/app/App.tsx --- src/app/App.tsx | 30 +++++++++++++++++------------- 1 file changed, 17 insertions(+), 13 deletions(-) diff --git a/src/app/App.tsx b/src/app/App.tsx index 998c2ec5..249b7fde 100644 --- a/src/app/App.tsx +++ b/src/app/App.tsx @@ -9368,19 +9368,23 @@ export function App({ store, initialStatusMessage }: AppProps) { return; } - const nextEffect = cloneControlEffect(link.action.effect); - mutate(nextEffect); - commitInteractionLinkChange( - link, - createControlInteractionLink({ - id: link.id, - sourceEntityId: link.sourceEntityId, - trigger: link.trigger, - effect: nextEffect - }), - successMessage, - label - ); + try { + const nextEffect = cloneControlEffect(link.action.effect); + mutate(nextEffect); + commitInteractionLinkChange( + link, + createControlInteractionLink({ + id: link.id, + sourceEntityId: link.sourceEntityId, + trigger: link.trigger, + effect: nextEffect + }), + successMessage, + label + ); + } catch (error) { + setStatusMessage(getErrorMessage(error)); + } }; const handleAddSequenceInteractionLink = () => {