LingxinMeng há 1 ano atrás
pai
commit
3fd61a4543
1 ficheiros alterados com 2 adições e 0 exclusões
  1. 2 0
      amd64/web_server/handler/h_exam.go

+ 2 - 0
amd64/web_server/handler/h_exam.go

@@ -89,6 +89,8 @@ func Tick(c *gin.Context) {
 		c_log.GlobalLogger.Infof("队伍 %v 的考试在中途中断后重新开始。", teamName)
 	} else if util.ContainsKey(cacheTeamName, teamName) { // 进行中
 		cacheTeamName[teamName] = time.Now()
+	} else {
+		c_log.GlobalLogger.Errorf("接收到心跳信息但考试并未开始 %v", param)
 	}
 
 	c.JSON(http.StatusOK, commonEntity.Response{