Skip to content

Commit

Permalink
Fix: fastapi 주소 log 추가
Browse files Browse the repository at this point in the history
  • Loading branch information
sejoon00 committed May 27, 2024
1 parent 1588aa6 commit 6a93344
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -29,9 +29,9 @@ public CompletableFuture<Boolean> sendProblemInfoToPreprocessingServer(List<Revi
.memberId(member.getId())
.filename(filename)
.build());
log.info("fastapi로 pdf 생성 요청을 보냅니다");
ResponseEntity<Void> responseEntity = restTemplate.postForEntity(serverUrl, requestHttpEntity, Void.class);
log.info("fastapi로 pdf 생성 요청을 보냈습니다. 결과 : {}", responseEntity.getStatusCode());
log.info("fastapi {}로 pdf 생성 요청을 보냅니다", serverUrl);
ResponseEntity<Boolean> responseEntity = restTemplate.postForEntity(serverUrl, requestHttpEntity, Boolean.class);
log.info("fastapi{}로 pdf 생성 요청을 보냈습니다. 결과 : {}", serverUrl, responseEntity.getStatusCode());

if (responseEntity.getStatusCode() != HttpStatus.OK) {
log.error("요청이 실패하였습니다. 응답 코드: {}", responseEntity.getStatusCode());
Expand Down

0 comments on commit 6a93344

Please sign in to comment.