From c574f7136cd81872ac15c48447f67509765a02ce Mon Sep 17 00:00:00 2001 From: Devessier Date: Thu, 12 Sep 2024 13:00:29 +0200 Subject: [PATCH] refactor: change error name --- .../workflow/components/RightDrawerWorkflowEditStepContent.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/twenty-front/src/modules/workflow/components/RightDrawerWorkflowEditStepContent.tsx b/packages/twenty-front/src/modules/workflow/components/RightDrawerWorkflowEditStepContent.tsx index c236d63c2b5f..9fb36225678c 100644 --- a/packages/twenty-front/src/modules/workflow/components/RightDrawerWorkflowEditStepContent.tsx +++ b/packages/twenty-front/src/modules/workflow/components/RightDrawerWorkflowEditStepContent.tsx @@ -37,7 +37,7 @@ const getStepDefinitionOrThrow = ({ if (!isDefined(currentVersion.steps)) { throw new Error( - 'Expected the steps to be defined while trying to locate a specific step', + 'Malformed workflow version: missing steps information; be sure to create at least one step before trying to edit one', ); }