Skip to content

Conversation

@lpi-tn
Copy link
Collaborator

@lpi-tn lpi-tn commented Jan 13, 2026

This pull request introduces improved error handling for HTTP errors in the WikipediaUpdater workflow. Now, when an HTTP error occurs during document comparison, the error is logged and a corresponding entry is added to the database for better traceability.

Error handling improvements:

  • Added import of requests.exceptions to support handling HTTP errors in the workflow (wikipedia_updater.py).
  • Updated the main() function to catch requests.exceptions.HTTPError, log the error, and create an ErrorRetrieval entry in the database with details about the HTTP error (wikipedia_updater.py).

Copy link
Contributor

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 enhances error handling in the Wikipedia updater workflow by specifically catching and logging HTTP errors that occur during document comparison operations.

Changes:

  • Added HTTP error handling to catch requests.exceptions.HTTPError during document comparison
  • Implemented database logging for HTTP errors via ErrorRetrieval entries

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

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