From 6fd116aa6d9de4d0209d49ce2ede386254d4a295 Mon Sep 17 00:00:00 2001 From: Marc Gorzala Date: Fri, 15 Dec 2023 11:50:34 +0100 Subject: [PATCH] debug --- src/main/java/net/dancier/dancer/chat/ChatService.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/main/java/net/dancier/dancer/chat/ChatService.java b/src/main/java/net/dancier/dancer/chat/ChatService.java index bf1d623..abde414 100644 --- a/src/main/java/net/dancier/dancer/chat/ChatService.java +++ b/src/main/java/net/dancier/dancer/chat/ChatService.java @@ -66,6 +66,8 @@ public Void createMessage(UUID chatId, UUID dancerId, CreateMessageDto createMes private void throwIfDancerIsNotInChat(List 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"); }