Skip to content

Add error handling to HTTP fetching of validation files #671

@tstirrat15

Description

@tstirrat15

If you zed validate a URL that returns an error (404, no healthy upstream, w/e), you'll get an error where Zed attempts to parse the output as a schema, which doesn't make a lot of sense. We should be checking the status of the request and erroring out directly if it's bad.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions