mirror of
https://gitee.com/BDWare/front-base
synced 2025-01-09 17:34:01 +00:00
merge pbft algorithm
This commit is contained in:
parent
4a15e3d904
commit
f7d041f144
@ -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);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user