Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/ci-java.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/ci-python.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
4 changes: 2 additions & 2 deletions apps/pre-processing-service/app/service/crawl_service.py
Original file line number Diff line number Diff line change
Expand Up @@ -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(
Expand Down Expand Up @@ -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("크롤러 리소스 정리 완료")
2 changes: 1 addition & 1 deletion apps/pre-processing-service/app/service/match_service.py
Original file line number Diff line number Diff line change
Expand Up @@ -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()
2 changes: 1 addition & 1 deletion apps/pre-processing-service/app/service/search_service.py
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Loading