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

schema: Add error checking on remote schema files #400

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

michaelwood
Copy link
Member

When fetching and downloading we can get some obscure messages that are hard to distinguish between input data errors and configuration errors. (As seen with recent threesixtygiving test coves). This captures errors and rewords them to be more helpful.

When fetching and downloading we can get some obscure messages that are
hard to distinguish between input data errors and configuration errors.
(As seen with recent threesixtygiving test coves). This captures errors
and rewords them to be more helpful.
@michaelwood michaelwood force-pushed the mw/schema_parser_exception_on_http_error branch from f2709b1 to 01e8e09 Compare September 20, 2022 14:50
@michaelwood
Copy link
Member Author

@michaelwood michaelwood marked this pull request as draft September 20, 2022 16:18
@Bjwebb
Copy link
Member

Bjwebb commented Sep 20, 2022

Yeah, not quite sure why it's like that. It seems to be doing 2 things at once. Can you replace with a test that the reffing works for a 200, and a test that your errors are thrown.

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