Skip to content

Commit

Permalink
Merge pull request #50 from lotteon2/develop
Browse files Browse the repository at this point in the history
[FEAT] ADD sqs log
  • Loading branch information
wakkpu authored Jan 21, 2024
2 parents 994d76e + d595cdf commit 9996069
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ public Mono<Sinks.EmitResult> sendMessage(ChatPayload chatMessage) {
.doOnSuccess(
emitResult -> {
if (emitResult.isFailure()) {
log.error("Failed to send message : {}", chatMessage);
log.error("emit result : {}", emitResult);
}
});
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -118,6 +118,7 @@ private Mono<Void> sendSqsNotification(Auction auction) {
RawNotificationData.forAuctionEnd(auction.getId());
SQSNotificationDto sqsNotificationDto =
SQSNotificationDto.create(rawNotificationData);
log.info("sqs notificationDTO", sqsNotificationDto);
auctionSqsProducer.produce(AUCTION_END_NOTIFICATION_QUEUE, sqsNotificationDto);
})
.onErrorResume(
Expand Down

0 comments on commit 9996069

Please sign in to comment.