diff --git a/src/ActionExecutor/UserAction.php b/src/ActionExecutor/UserAction.php index 90d66955e1..4eaeb9dfc4 100644 --- a/src/ActionExecutor/UserAction.php +++ b/src/ActionExecutor/UserAction.php @@ -7,6 +7,7 @@ use atk4\core\HookTrait; use atk4\data\UserAction\Generic; +use atk4\data\ValidationException; use atk4\ui\Button; use atk4\ui\Exception; use atk4\ui\Form; @@ -556,6 +557,8 @@ protected function jsStepSubmit(string $step) } return $js; + } catch (ValidationException $e) { + throw $e; } catch (\Exception $e) { $m = new Message('Error executing '.$this->action->caption, 'red'); $m->init();