merge pbft algorithm

This commit is contained in:
CaiHQ 2021-11-22 11:50:39 +08:00
parent 4a15e3d904
commit f7d041f144

View File

@ -116,7 +116,7 @@ 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("[ActionExecutor] handle : " + action + " ->" + JsonUtil.toJson(args));
if (null != action) {
if (staticData.containsKey(action)) {
@ -127,7 +127,8 @@ public class ActionExecutor<T, U> {
}
// 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);
}