Skip to content

Commit

Permalink
[CHORE] S3 파일 삭제 로직 예외 처리(#135)
Browse files Browse the repository at this point in the history
  • Loading branch information
eunsol-an committed Sep 26, 2024
1 parent e6d8fdb commit d089141
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ private String createPresignedGetUrl(String fileName) {
}

private void deleteObject(String fileName) {
if (fileName == null || fileName.isEmpty()) return;
this.validateFileName(fileName);

try {
DeleteObjectRequest objectRequest = DeleteObjectRequest.builder()
Expand Down

0 comments on commit d089141

Please sign in to comment.