Skip to content

Conversation

remdub
Copy link
Member

@remdub remdub commented Oct 1, 2025

…if geopy is down

@coveralls
Copy link

coveralls commented Oct 1, 2025

Pull Request Test Coverage Report for Build 18160215717

Details

  • 7 of 7 (100.0%) changed or added relevant lines in 1 file are covered.
  • No unchanged relevant lines lost coverage.
  • Overall coverage increased (+0.1%) to 75.451%

Totals Coverage Status
Change from base Build 17614572715: 0.1%
Covered Lines: 836
Relevant Lines: 1108

💛 - Coveralls

@remdub remdub requested a review from Copilot October 1, 2025 11:14
Copy link

@Copilot Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR adds error handling to the geocoding functionality to prevent content creation from being blocked when the geopy service is unavailable.

  • Catches GeocoderUnavailable exceptions in the geocode_object function
  • Displays a warning message to users when geocoding fails
  • Adds test coverage for the error handling scenario

Reviewed Changes

Copilot reviewed 3 out of 3 changed files in this pull request and generated 1 comment.

File Description
src/imio/smartweb/common/utils.py Adds exception handling for geocoding failures with user notification
src/imio/smartweb/common/tests/test_utils.py Adds test case for geocoder unavailable scenario
CHANGES.rst Documents the bug fix in the changelog

Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.

@remdub remdub requested a review from boulch October 6, 2025 07:40
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.

2 participants