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

fix(EuropeanDynamicsBase): check for valid JSON files #1064

Merged
merged 2 commits into from
Apr 5, 2024
Merged

Conversation

yolile
Copy link
Member

@yolile yolile commented Apr 5, 2024

closes #1053

@yolile yolile requested a review from jpmckinney April 5, 2024 21:04
continue
yield self.build_request(f'{self.base_url}{path}', formatter=join(components(-2), extension='zip'),
priority=number * -1)
# Sometimes the response is an HTML with an error message
Copy link
Member

Choose a reason for hiding this comment

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

Suggested change
# Sometimes the response is an HTML with an error message
# The response can be an HTML document with an error message like "temporary unavailable due to maintenance".

@yolile yolile requested a review from jpmckinney April 5, 2024 22:14
@yolile yolile merged commit 61188e0 into main Apr 5, 2024
10 checks passed
@yolile yolile deleted the 1053-fix-zambia branch April 5, 2024 22:28
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.

zambia: EuropeanDynamicsBase should check for valid JSON
2 participants