From 37d73d8876ed24e8161eb299ef471c11a1c97d16 Mon Sep 17 00:00:00 2001 From: Nils Olsson Date: Wed, 20 Nov 2019 14:38:48 +0100 Subject: [PATCH] Show error when no start context is defined --- graphwalker-studio/src/main/js/redux/actions.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/graphwalker-studio/src/main/js/redux/actions.js b/graphwalker-studio/src/main/js/redux/actions.js index 44f4d948a..dc79864f2 100644 --- a/graphwalker-studio/src/main/js/redux/actions.js +++ b/graphwalker-studio/src/main/js/redux/actions.js @@ -175,8 +175,8 @@ export const runTest = () => { } } setTimeout(await callback, delay); - } catch (error) { - await dispatch(action(EXECUTION_STOP, error)); + } catch ({ issues }) { + await dispatch(action(EXECUTION_FAILED, issues)); } } }