diff --git a/src/main/java/org/autorepo/server/domain/template/service/TemplateService.java b/src/main/java/org/autorepo/server/domain/template/service/TemplateService.java index 200fcdc..501c61e 100644 --- a/src/main/java/org/autorepo/server/domain/template/service/TemplateService.java +++ b/src/main/java/org/autorepo/server/domain/template/service/TemplateService.java @@ -68,11 +68,13 @@ public void uploadTemplate(UploadTemplateRequestDto uploadTemplateRequestDto, Lo } gitHubService.sendRequest(url, HttpMethod.PUT, headers, jsonBody.toString()); } catch (Exception e) { + System.out.println("깃허브 템플릿 업로드 중 오류 발생: " + e.getMessage()); + e.printStackTrace(); throw new InternalServerException(GITHUB_TEMPLATE_UPLOAD_ERROR); } } - // 템플릿 저장 + // 템플릿 저장 public void saveTemplate(ShareTemplateRequestDto shareTemplateRequestDto, String imageUrl) { Repo repo = repoRepository.findByRepoUrl(shareTemplateRequestDto.repoUrl())