fix: [bending] 절곡품 API 화이트리스트 추가 및 presignedUrl 에러 핸들링
- bending-items, guiderail-models 등 MNG→API 호출 라우트 화이트리스트 등록 - BendingItemResource에서 S3 미설정 환경 presignedUrl 에러 try-catch 처리
This commit is contained in:
@@ -76,6 +76,10 @@ private function getImageFileId(): ?int
|
||||
|
||||
private function getImageUrl(): ?string
|
||||
{
|
||||
return $this->getImageFile()?->presignedUrl();
|
||||
try {
|
||||
return $this->getImageFile()?->presignedUrl();
|
||||
} catch (\Throwable) {
|
||||
return null;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user