소스 검색

改变日志的打印内容

bryan31 4 년 전
부모
커밋
0bb1756e93
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      liteflow-core/src/main/java/com/yomahub/liteflow/entity/flow/Node.java

+ 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;
 			}