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:53:05 UTC
[unomi] branch unomi-1.6.x 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 unomi-1.6.x
in repository https://gitbox.apache.org/repos/asf/unomi.git
The following commit(s) were added to refs/heads/unomi-1.6.x by this push:
new a6ded46 return the result of the groovy action dispatcher (#346)
a6ded46 is described below
commit a6ded467b89f91abab687a28a9e91acc09c29635
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)
(cherry picked from commit ac7186395bfda4ae94a20336be505df843709080)
---
.../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 {