Skip to content

Commit

Permalink
♻️refactor : FireBaseUtils Error 수정
Browse files Browse the repository at this point in the history
  • Loading branch information
DDonghyeo committed Jun 22, 2024
1 parent 62989de commit 49b2fd3
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ public void sendSingleMessage(String token, String title, String body) {

} catch (FirebaseMessagingException ex) {
ex.printStackTrace();
throw new CustomException(ErrorCode.FIREBASE_ERROR);
log.error("[ FireBaseUtils ] Failed to send message : {}",ex.getMessage());
}
}

Expand Down Expand Up @@ -71,7 +71,7 @@ public void sendAllMessages(List<String> tokens, String title, String body) {

} catch (FirebaseMessagingException ex) {
ex.printStackTrace();
throw new CustomException(ErrorCode.FIREBASE_ERROR);
log.error("[ FireBaseUtils ] Failed to send message : {}",ex.getMessage());
}
}
}

0 comments on commit 49b2fd3

Please sign in to comment.