Skip to content

Commit

Permalink
debug
Browse files Browse the repository at this point in the history
  • Loading branch information
Marc Gorzala committed Dec 15, 2023
1 parent be2357a commit 6fd116a
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/main/java/net/dancier/dancer/chat/ChatService.java
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,8 @@ public Void createMessage(UUID chatId, UUID dancerId, CreateMessageDto createMes

private void throwIfDancerIsNotInChat(List<UUID> participantIds, UUID currentDancerId) {
log.info("Before Check");
log.info("Part: " + participantIds);
log.info("Current: " + currentDancerId);
if (!participantIds.contains(currentDancerId)) {
throw new BusinessException("Current dancer must be part of the chat");
}
Expand Down

0 comments on commit 6fd116a

Please sign in to comment.