Skip to content

Commit

Permalink
hotfix: 잘못된 에러 로그 제거 #235
Browse files Browse the repository at this point in the history
  • Loading branch information
PgmJun authored Aug 23, 2024
1 parent 08b6290 commit 3d51469
Showing 1 changed file with 0 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -50,11 +50,6 @@ private void startRound(RoomContent roomContent, int timeLimit) {
public void deleteRoomContents(Room room) {
List<RoomContent> roomContents = roomContentRepository.findAllByRoom(room);
roomContentRepository.deleteAllInBatch(roomContents);

if (room.getTotalRound() != roomContents.size()) {
log.error("방의 총 라운드와 방 컨텐츠 개수가 일치하지 않습니다. roomId: {}, totalRound: {}, roomContent 개수: {}",
room.getId(), room.getTotalRound(), roomContents.size());
}
}

@Transactional(readOnly = true)
Expand Down

0 comments on commit 3d51469

Please sign in to comment.