log on oauth discovery failure
This commit is contained in:
Родитель
bd363cdef7
Коммит
5b1390d88f
|
@ -273,7 +273,8 @@ class OpenIDResponder():
|
|||
|
||||
try:
|
||||
authrequest = oidconsumer.begin(openid_url)
|
||||
except consumer.DiscoveryFailure:
|
||||
except consumer.DiscoveryFailure, exc:
|
||||
log.error("openid discovery failure: %s", exc)
|
||||
return redirect(fail_uri)
|
||||
|
||||
if authrequest is None:
|
||||
|
|
Загрузка…
Ссылка в новой задаче