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

catch and log pelias/model errors #432

Merged
merged 1 commit into from
Apr 2, 2019
Merged

Conversation

missinglink
Copy link
Member

It seems that this importer does not attempt to catch and log pelias/model errors as the other importers do.
This PR adds a try/catch block with logging to prevent the importer from terminating upon error.

resolves pelias/model#116
related pelias/model#115

@missinglink missinglink merged commit 0b34e06 into master Apr 2, 2019
@missinglink missinglink deleted the catch_model_errors branch April 2, 2019 13:55
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.

PeliasModelError: invalid regex test, http://internetcity should not match /https?:\/\//
1 participant