改变日志的打印内容

This commit is contained in:
bryan31
2020-10-25 23:51:12 +08:00
parent 78c2d89115
commit 0bb1756e93

View File

@@ -100,7 +100,7 @@ public class Node implements Executable{
String errorMsg = MessageFormat.format("[{0}]:component[{1}] cause error,but flow is still go on", slot.getRequestId(),id); String errorMsg = MessageFormat.format("[{0}]:component[{1}] cause error,but flow is still go on", slot.getRequestId(),id);
LOG.error(errorMsg,e); LOG.error(errorMsg,e);
}else{ }else{
String errorMsg = MessageFormat.format("[{0}]:component[{1}] cause error",slot.getRequestId(),id); String errorMsg = MessageFormat.format("[{0}]:component[{1}] cause error,error:{2}",slot.getRequestId(),id,e.getMessage());
LOG.error(errorMsg,e); LOG.error(errorMsg,e);
throw e; throw e;
} }