Skip to content
This repository has been archived by the owner on Jul 24, 2023. It is now read-only.

Rescue from Yadis::XRI::XRIHTTPError on discovery #106

Merged
merged 1 commit into from
Jun 26, 2019
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion lib/openid/consumer/discovery.rb
Original file line number Diff line number Diff line change
Expand Up @@ -450,7 +450,7 @@ def self.discover_xri(iname)
services.each { |service_element|
endpoints += flt.get_service_endpoints(iname, service_element)
}
rescue Yadis::XRDSError => why
rescue Yadis::XRDSError, Yadis::XRI::XRIHTTPError => why
Util.log('xrds error on ' + iname + ': ' + why.to_s)
end

Expand Down