diff --git a/.github/workflows/ci-java.yml b/.github/workflows/ci-java.yml index e112f3ab..374fb460 100644 --- a/.github/workflows/ci-java.yml +++ b/.github/workflows/ci-java.yml @@ -24,7 +24,7 @@ permissions: jobs: spotless-check: - if: github.event_name == 'pull_request' && github.event.pull_request.draft == false + if: github.event.pull_request.draft == false name: Lint Check runs-on: ubuntu-latest diff --git a/.github/workflows/ci-python.yml b/.github/workflows/ci-python.yml index 84b1e919..75584368 100644 --- a/.github/workflows/ci-python.yml +++ b/.github/workflows/ci-python.yml @@ -22,7 +22,7 @@ permissions: jobs: lint: - if: github.event_name == 'pull_request' && github.event.pull_request.draft == false + if: github.event.pull_request.draft == false name: Lint & Format Check runs-on: ubuntu-latest defaults: diff --git a/apps/pre-processing-service/app/service/crawl_service.py b/apps/pre-processing-service/app/service/crawl_service.py index 52f68578..4122bb2e 100644 --- a/apps/pre-processing-service/app/service/crawl_service.py +++ b/apps/pre-processing-service/app/service/crawl_service.py @@ -28,7 +28,7 @@ async def crawl_product_detail(self, request: RequestSadaguCrawl) -> dict: if not product_detail: logger.error(f"상품 상세 정보 크롤링 실패: url={request.product_url}") - raise InvalidItemDataException("상품 상세 정보 크롤링 실패") + raise InvalidItemDataException() product_title = product_detail.get("title", "Unknown")[:50] logger.success( @@ -56,7 +56,7 @@ async def crawl_product_detail(self, request: RequestSadaguCrawl) -> dict: logger.error( f"크롤링 서비스 오류: job_id={request.job_id}, product_url={request.product_url}, error='{e}'" ) - raise InvalidItemDataException(f"상품 상세 크롤링 오류: {e}") + raise InvalidItemDataException() finally: await crawler.close() logger.debug("크롤러 리소스 정리 완료") diff --git a/apps/pre-processing-service/app/service/match_service.py b/apps/pre-processing-service/app/service/match_service.py index 613f301a..5816957a 100644 --- a/apps/pre-processing-service/app/service/match_service.py +++ b/apps/pre-processing-service/app/service/match_service.py @@ -92,4 +92,4 @@ def match_products(self, request: RequestSadaguMatch) -> dict: logger.error( f"매칭 서비스 오류: job_id={request.job_id}, keyword='{keyword}', error='{e}'" ) - raise InvalidItemDataException(f"키워드 매칭 실패: {str(e)}") + raise InvalidItemDataException() diff --git a/apps/pre-processing-service/app/service/search_service.py b/apps/pre-processing-service/app/service/search_service.py index a130db46..6fb09c0f 100644 --- a/apps/pre-processing-service/app/service/search_service.py +++ b/apps/pre-processing-service/app/service/search_service.py @@ -102,7 +102,7 @@ async def search_products(self, request: RequestSadaguSearch) -> dict: logger.error( f"검색 서비스 오류: job_id={request.job_id}, keyword='{keyword}', error='{e}'" ) - raise InvalidItemDataException(f"상품 검색 실패: {str(e)}") + raise InvalidItemDataException() finally: await crawler.close() diff --git a/apps/pre-processing-service/app/service/similarity_service.py b/apps/pre-processing-service/app/service/similarity_service.py index bd573eec..0ccb6b2c 100644 --- a/apps/pre-processing-service/app/service/similarity_service.py +++ b/apps/pre-processing-service/app/service/similarity_service.py @@ -174,4 +174,4 @@ def select_product_by_similarity(self, request: RequestSadaguSimilarity) -> dict logger.error( f"유사도 분석 서비스 오류: job_id={request.job_id}, keyword='{keyword}', error='{e}'" ) - raise InvalidItemDataException(f"유사도 분석 실패: {str(e)}") + raise InvalidItemDataException()