Skip to content

Check GET response status when querying zenodo API

This PR improves the error handling in gwpy.utils.sphinx.zenodo (used in the documentation) by calling Response.raise_for_status(), which will raise an HTTPError on failure, rather than blindly continuing and attempting to parse the response as JSON, which results in a JSONDecodeError.

zenodo.org is down...

Merge request reports