Merge Q-CAST-III-MR-104: 견적서 첨부파일 다운로드 API 수정

This commit is contained in:
Jungpyo Lee 2024-10-15 07:14:00 +00:00 committed by Space Cloud
commit 47400ec0d6
No known key found for this signature in database
GPG Key ID: 2F4D45726235F749

View File

@ -421,7 +421,11 @@ public class ObjectService {
inputStream = new BufferedInputStream(new FileInputStream(file));
FileCopyUtils.copy(inputStream, response.getOutputStream());
} else {
throw new QcastException(ErrorCode.INTERNAL_SERVER_ERROR);
}
} else {
throw new QcastException(ErrorCode.INTERNAL_SERVER_ERROR);
}
} catch (Exception e) {
throw new QcastException(ErrorCode.INTERNAL_SERVER_ERROR);