Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

GBFS: Correctly handle errors during provider updates #775

Merged
merged 1 commit into from
Mar 11, 2025

Conversation

pablohoch
Copy link
Member

Errors that occur when updating a provider (connection errors or invalid responses) are now correctly handled, reported and don't cause other providers to disappear. The existing provider data is kept and will continue to be used for routing when an error occurs during the update.

Previously, errors were only handled correctly during the initial processing of a provider.

Note: If a provider is unreachable or doesn't return a valid discovery file during MOTIS startup, it won't be available even if it becomes reachable later on (until MOTIS is restarted).

This should hopefully fix public-transport/transitous#988

@felixguendling felixguendling merged commit d7d7cd6 into master Mar 11, 2025
12 checks passed
@felixguendling felixguendling deleted the gbfs-update-error-handling branch March 11, 2025 12:09
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.

[GBFS] Bixi Montreal not used for routing
2 participants