浏览代码

修改日志打印

tianboguang 2 年之前
父节点
当前提交
801c13df8a
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      src/main/java/com/fdkankan/modeling/receiver/RabbitMqListener.java

+ 1 - 1
src/main/java/com/fdkankan/modeling/receiver/RabbitMqListener.java

@@ -318,7 +318,7 @@ public class RabbitMqListener {
         Long building = redisUtil.incr(key, 1);
         buildLogService.save(buildLog);
         if (building.compareTo(1L) > 0) {
-            log.error("服务:{},重复构建:{}", SysConstants.hostName, buildLog.getSceneNum());
+            log.error("服务:{},重复构建:{},构建次数:{}", SysConstants.hostName, buildLog.getSceneNum(),building);
             throw new BuildException(ModelingBuildStatus.REPEAT);
         } else {
             redisUtil.expire(key, SysConstants.modelTimeOut);