You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@unomi.apache.org by sh...@apache.org on 2021/09/29 13:52:05 UTC

[unomi] branch master updated: return the result of the groovy action dispatcher (#346)

This is an automated email from the ASF dual-hosted git repository.

shuber pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/unomi.git


The following commit(s) were added to refs/heads/master by this push:
     new ac71863  return the result of the groovy action dispatcher (#346)
ac71863 is described below

commit ac7186395bfda4ae94a20336be505df843709080
Author: jsinovassin <58...@users.noreply.github.com>
AuthorDate: Wed Sep 29 15:51:58 2021 +0200

    return the result of the groovy action dispatcher (#346)
---
 .../unomi/services/actions/impl/ActionExecutorDispatcherImpl.java       | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/services/src/main/java/org/apache/unomi/services/actions/impl/ActionExecutorDispatcherImpl.java b/services/src/main/java/org/apache/unomi/services/actions/impl/ActionExecutorDispatcherImpl.java
index 4270abc..5e4cf61 100644
--- a/services/src/main/java/org/apache/unomi/services/actions/impl/ActionExecutorDispatcherImpl.java
+++ b/services/src/main/java/org/apache/unomi/services/actions/impl/ActionExecutorDispatcherImpl.java
@@ -214,7 +214,7 @@ public class ActionExecutorDispatcherImpl implements ActionExecutorDispatcher {
             if (actionDispatcher == null) {
                 logger.warn("Couldn't find any action dispatcher for prefix '{}', action {} won't execute !", actionPrefix, actionKey);
             }
-            actionDispatcher.execute(action, event, actionName);
+            return actionDispatcher.execute(action, event, actionName);
         } else if (executors.containsKey(actionKey)) {
             ActionExecutor actionExecutor = executors.get(actionKey);
             try {