Bläddra i källkod

改变日志的打印内容

bryan31 4 år sedan
förälder
incheckning
0bb1756e93

+ 1 - 1
liteflow-core/src/main/java/com/yomahub/liteflow/entity/flow/Node.java

@@ -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);
 				LOG.error(errorMsg,e);
 			}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);
 				throw e;
 			}