Skip to content

Commit

Permalink
#18 [FIX] 에러 로그 추가
Browse files Browse the repository at this point in the history
  • Loading branch information
hysong4u committed Dec 2, 2024
1 parent 71f8534 commit 99ec42b
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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())
Expand Down

0 comments on commit 99ec42b

Please sign in to comment.