From bfe9a2b8351143e8e01dc1b4bb8fe413596a84ca Mon Sep 17 00:00:00 2001 From: Esa Kataja Date: Mon, 4 Aug 2025 14:00:38 +0300 Subject: [PATCH] docs: update warning and error messages for job posting source implementations --- src/routes/job_postings.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/routes/job_postings.py b/src/routes/job_postings.py index 7a01b7e..e329cb3 100644 --- a/src/routes/job_postings.py +++ b/src/routes/job_postings.py @@ -22,12 +22,12 @@ async def get_job_postings(search_term: str, source: PostingSource = PostingSour match source: case PostingSource.ALL: logger.warning( - "Only Duunitori and Tyomarkkinatori are implemented at the moment." + "LinkedIn is not implemented at the moment. Only Duunitori and Tyomarkkinatori are implemented." ) postings = await duunitori(search_term) postings.extend(await tyomarkkinatori(search_term)) case PostingSource.LINKEDIN: - logger.error(f"Job postings from {source.value} Not implemented yet") + logger.error(f"Job postings from {source.value} are not implemented yet") raise NotImplementedException() case PostingSource.DUUNITORI: postings = await duunitori(search_term)