From 99ec42b95be79be924dda8b7ad2cba4b15fca5ae Mon Sep 17 00:00:00 2001 From: hysong4u Date: Mon, 2 Dec 2024 23:40:04 +0900 Subject: [PATCH] =?UTF-8?q?#18=20[FIX]=20=EC=97=90=EB=9F=AC=20=EB=A1=9C?= =?UTF-8?q?=EA=B7=B8=20=EC=B6=94=EA=B0=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../server/domain/template/service/TemplateService.java | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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())