Closed halucinor closed 1 year ago
In GitLab by @halucinor on Mar 3, 2023, 16:22
The following discussion from !38 should be addressed:
[ ] @Pablo started a discussion: (+5 comments)
~QUESTION ImageValidator.validate() 메서드 로직을 보면 url 검증 후 flase를 리턴하는 경우는 아래와 같은데요 try { minioClient.statObject(StatObjectArgs.builder() .bucket(bucketName) .object(imageName) .build()); return true; } catch (ErrorResponseException e) { return false; } catch (Exception e) { throw new InternalServerException(MINIO_EXCEPTION); } 해당 부분이 어떤 의미의 NotFoundException인가요?
~QUESTION ImageValidator.validate() 메서드 로직을 보면 url 검증 후 flase를 리턴하는 경우는 아래와 같은데요
ImageValidator.validate()
try { minioClient.statObject(StatObjectArgs.builder() .bucket(bucketName) .object(imageName) .build()); return true; } catch (ErrorResponseException e) { return false; } catch (Exception e) { throw new InternalServerException(MINIO_EXCEPTION); }
해당 부분이 어떤 의미의 NotFoundException인가요?
NotFoundException
In GitLab by @halucinor on Mar 3, 2023, 16:22
The following discussion from !38 should be addressed:
[ ] @Pablo started a discussion: (+5 comments)