diff --git a/src/main/java/com/dailyon/auctionservice/common/webclient/client/ProductClient.java b/src/main/java/com/dailyon/auctionservice/common/webclient/client/ProductClient.java index b769dbd..5c4c890 100644 --- a/src/main/java/com/dailyon/auctionservice/common/webclient/client/ProductClient.java +++ b/src/main/java/com/dailyon/auctionservice/common/webclient/client/ProductClient.java @@ -18,7 +18,7 @@ public class ProductClient { private final WebClient webClient; public Mono readProductDetail(Long productId) { return webClient.get() - .uri(uriBuilder -> uriBuilder.path("/products/id/{productId}").build(productId)) + .uri(uriBuilder -> uriBuilder.path("/products/auctions/id/{productId}").build(productId)) .retrieve() .bodyToMono(ReadAuctionDetailResponse.ReadProductDetailResponse.class); } diff --git a/src/main/java/com/dailyon/auctionservice/controller/ChatHandler.java b/src/main/java/com/dailyon/auctionservice/controller/ChatHandler.java index a6e3897..2f78d5c 100644 --- a/src/main/java/com/dailyon/auctionservice/controller/ChatHandler.java +++ b/src/main/java/com/dailyon/auctionservice/controller/ChatHandler.java @@ -91,7 +91,7 @@ public Mono sendMessage(ChatPayload chatMessage) { .doOnSuccess( emitResult -> { if (emitResult.isFailure()) { - log.error("Failed to send message"); + log.error("Failed to send message : {}", chatMessage); } }); }