This commit is contained in:
Frank.R.Wu 2021-11-22 14:38:28 +08:00
parent f7d041f144
commit 77b2340a6e

View File

@ -116,7 +116,8 @@ public class ActionExecutor<T, U> {
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<T, U> {
// logger.debug("[ActionExecutor] handle : ");
if (!handlers.containsKey(action)) {
LOGGER.debug("unsupported action " + action + "->" + JsonUtil.toJson(args));
throw new IllegalArgumentException("unsupported action " + action);
}