Skip to content

Commit 4a5b94d

Browse files
committed
CLAP-193 Rename: 클래스명 수정으로 인한 변경
<footer> - 관련: #190
1 parent 62884bc commit 4a5b94d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/main/java/clap/server/adapter/outbound/infrastructure/s3/S3UploadAdapter.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
import clap.server.config.s3.KakaoS3Config;
66
import clap.server.common.constants.FilePathConstants;
77
import clap.server.exception.S3Exception;
8-
import clap.server.exception.code.AttachmentErrorcode;
8+
import clap.server.exception.code.FileErrorcode;
99
import lombok.RequiredArgsConstructor;
1010
import lombok.extern.slf4j.Slf4j;
1111
import org.springframework.web.multipart.MultipartFile;
@@ -39,7 +39,7 @@ public String uploadSingleFile(FilePathConstants filePrefix, MultipartFile file)
3939
Files.delete(filePath);
4040
return getFileUrl(objectKey);
4141
} catch (IOException e) {
42-
throw new S3Exception(AttachmentErrorcode.FILE_UPLOAD_REQUEST_FAILED);
42+
throw new S3Exception(FileErrorcode.FILE_UPLOAD_REQUEST_FAILED);
4343
}
4444
}
4545

0 commit comments

Comments
 (0)