diff --git a/src/fellchensammlung/animal_shelter.py b/src/fellchensammlung/animal_shelter.py index 9fa1357..ad9ab5a 100644 --- a/src/fellchensammlung/animal_shelter.py +++ b/src/fellchensammlung/animal_shelter.py @@ -42,6 +42,8 @@ def send_to_api(data): print(f"Error: Shelter '{data['name']}' already exists or invalid data.") else: print(f"Unexpected Error: {response.status_code} - {response.text}") + raise ConnectionError + def main(): # Step 1: Load OSM data