Skip to content

Commit

Permalink
refactor: 400 -> 500 에러로 추가
Browse files Browse the repository at this point in the history
  • Loading branch information
takoyakimchi committed Aug 22, 2024
1 parent 15a3a90 commit e0dfaf0
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ public void sendChatNotification(Long chatRoomId, ChatMessageResponse response)
.findAllByChatRoomIdWithoutMine(chatRoomId, response.senderMemberId());

if (receiverTokens.isEmpty()) {
throw new FriendoglyException("기기 토큰이 비어 있어 알림을 전송할 수 없습니다.");
throw new FriendoglyException("기기 토큰이 비어 있어 알림을 전송할 수 없습니다.", INTERNAL_SERVER_ERROR);
}

Map<String, String> data = Map.of(
Expand Down

0 comments on commit e0dfaf0

Please sign in to comment.