We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b1de99f commit b62bd26Copy full SHA for b62bd26
lib/json-schema/validator.rb
@@ -578,7 +578,7 @@ def initialize_data(data)
578
begin
579
json_uri = Util::URI.normalized_uri(data)
580
data = self.class.parse(custom_open(json_uri))
581
- rescue JSON::Schema::JsonLoadError
+ rescue JSON::Schema::JsonLoadError, JSON::Schema::UriError
582
# Silently discard the error - use the data as-is
583
end
584
0 commit comments