Skip to content

Refactor Siemens Healthineers scraper to handle city translation errors gracefully#672

Merged
lalalaurentiu merged 1 commit intopeviitor-ro:mainfrom
lalalaurentiu:main
Dec 12, 2025
Merged

Refactor Siemens Healthineers scraper to handle city translation errors gracefully#672
lalalaurentiu merged 1 commit intopeviitor-ro:mainfrom
lalalaurentiu:main

Conversation

@lalalaurentiu
Copy link
Collaborator

This pull request introduces improved error handling when extracting the city name from job listings in sites/siemenshealthineers.py. Now, if an exception occurs during city extraction, the code will gracefully set the city to an empty string rather than failing.

Error handling improvements:

  • Wrapped the city extraction logic in a try-except block to handle exceptions and default to an empty string if extraction fails. (sites/siemenshealthineers.py)

@lalalaurentiu lalalaurentiu merged commit 9329ed3 into peviitor-ro:main Dec 12, 2025
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant