Skip to content

Commit 6b58740

Browse files
committed
refactor: FCM 메시지 내용 로그 출력X
1 parent d55d666 commit 6b58740

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

src/main/java/com/example/busnotice/domain/fcmToken/FCMService.java

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -119,11 +119,9 @@ public void sendNotification() throws UnsupportedEncodingException, JsonProcessi
119119
try {
120120
String response = FirebaseMessaging.getInstance().send(message);
121121
log.info("메시지 전송 성공: {}, 토큰: {}", response, notification.token());
122-
log.info("메시지 내용: {}", objectMapper.writeValueAsString(message));
123122
} catch (FirebaseMessagingException e) {
124123
log.error("메시지 전송 실패: {}, 토큰: {}", e.getMessage(), notification.token());
125-
log.error("메시지 내용: {}", objectMapper.writeValueAsString(message));
126-
}
124+
}
127125
}
128126
}
129127

0 commit comments

Comments
 (0)