From 77b2340a6e2ea6a672a0b60bbb7b72b26bc6f7b5 Mon Sep 17 00:00:00 2001 From: "Frank.R.Wu" Date: Mon, 22 Nov 2021 14:38:28 +0800 Subject: [PATCH] merge --- src/main/src/org/bdware/server/action/ActionExecutor.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/src/org/bdware/server/action/ActionExecutor.java b/src/main/src/org/bdware/server/action/ActionExecutor.java index ca0f347..b664b43 100644 --- a/src/main/src/org/bdware/server/action/ActionExecutor.java +++ b/src/main/src/org/bdware/server/action/ActionExecutor.java @@ -116,7 +116,8 @@ public class ActionExecutor { public void handle(String action, final U args, final T callback) throws IllegalAccessException, IllegalArgumentException, InvocationTargetException { -// LOGGER.info("[ActionExecutor] handle : " + action + " ->" + JsonUtil.toJson(args)); + LOGGER.info("handling " + action + "..."); + LOGGER.debug("handle : " + action + " ->" + JsonUtil.toJson(args)); if (null != action) { if (staticData.containsKey(action)) { @@ -128,7 +129,6 @@ public class ActionExecutor { // logger.debug("[ActionExecutor] handle : "); if (!handlers.containsKey(action)) { LOGGER.debug("unsupported action " + action + "->" + JsonUtil.toJson(args)); - throw new IllegalArgumentException("unsupported action " + action); }