commit | 557218b1d1aa3e32c9052ce9720246c5e2432412 | [log] [tgz] |
---|---|---|
author | Shawn O. Pearce <sop@google.com> | Fri Jan 30 14:13:54 2009 -0800 |
committer | Shawn O. Pearce <sop@google.com> | Fri Jan 30 14:14:52 2009 -0800 |
tree | d1f0977adb57b9e810555651543a3f9a73f2e23f | |
parent | 9636d646317c18a916b83272d9cfb84f17dcc0e5 [diff] |
Gracefully handle unknown host exceptions during OpenID discovery We don't need these errors in our application server log. If the client has given us a hostname we can't resolve, trap the error and return an invalid discovery JSON payload to them instead. The user will see a message explaining its an unsupported/invalid URL and can try again. Signed-off-by: Shawn O. Pearce <sop@google.com>