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

Commit

Permalink
Merge pull request #106 from meineerde/fix/XRIHTTPError
Browse files Browse the repository at this point in the history
Rescue from Yadis::XRI::XRIHTTPError on discovery
  • Loading branch information
tobiashm authored Jun 26, 2019
2 parents d181a8a + d4d7946 commit aebc02e
Showing 1 changed file with 1 addition and 1 deletion.
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

0 comments on commit aebc02e

Please # to comment.