Skip to content

Commit

Permalink
[ADD] chathandler log 추가
Browse files Browse the repository at this point in the history
  • Loading branch information
ssjy4974 committed Jan 18, 2024
1 parent 079c660 commit 056154a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ public class ProductClient {
private final WebClient webClient;
public Mono<ReadAuctionDetailResponse.ReadProductDetailResponse> 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);
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ public Mono<Sinks.EmitResult> sendMessage(ChatPayload chatMessage) {
.doOnSuccess(
emitResult -> {
if (emitResult.isFailure()) {
log.error("Failed to send message");
log.error("Failed to send message : {}", chatMessage);
}
});
}
Expand Down

0 comments on commit 056154a

Please sign in to comment.