From f7d041f144007211912be9d636585c28dee62b94 Mon Sep 17 00:00:00 2001 From: CaiHQ Date: Mon, 22 Nov 2021 11:50:39 +0800 Subject: [PATCH] merge pbft algorithm --- src/main/src/org/bdware/server/action/ActionExecutor.java | 5 +++-- 1 file changed, 3 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 a5155a2..ca0f347 100644 --- a/src/main/src/org/bdware/server/action/ActionExecutor.java +++ b/src/main/src/org/bdware/server/action/ActionExecutor.java @@ -116,7 +116,7 @@ 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("[ActionExecutor] handle : " + action + " ->" + JsonUtil.toJson(args)); if (null != action) { if (staticData.containsKey(action)) { @@ -127,7 +127,8 @@ public class ActionExecutor { } // logger.debug("[ActionExecutor] handle : "); if (!handlers.containsKey(action)) { - LOGGER.debug("unsupported action " + action); + LOGGER.debug("unsupported action " + action + "->" + JsonUtil.toJson(args)); + throw new IllegalArgumentException("unsupported action " + action); }