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

Commit aebc02e

Browse files
authored
Merge pull request #106 from meineerde/fix/XRIHTTPError
Rescue from Yadis::XRI::XRIHTTPError on discovery
2 parents d181a8a + d4d7946 commit aebc02e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/openid/consumer/discovery.rb

+1-1
Original file line numberDiff line numberDiff line change
@@ -450,7 +450,7 @@ def self.discover_xri(iname)
450450
services.each { |service_element|
451451
endpoints += flt.get_service_endpoints(iname, service_element)
452452
}
453-
rescue Yadis::XRDSError => why
453+
rescue Yadis::XRDSError, Yadis::XRI::XRIHTTPError => why
454454
Util.log('xrds error on ' + iname + ': ' + why.to_s)
455455
end
456456

0 commit comments

Comments
 (0)