You've already forked snikket-web-portal
Bump log level of oauth errors
This commit is contained in:
@@ -434,7 +434,7 @@ class ProsodyClient:
|
|||||||
auth_info: typing.Mapping[str, str] = (await resp.json())
|
auth_info: typing.Mapping[str, str] = (await resp.json())
|
||||||
|
|
||||||
if auth_status in [400, 401]:
|
if auth_status in [400, 401]:
|
||||||
self.logger.debug("oauth2 error: %r", auth_info)
|
self.logger.warning("oauth2 error: %r", auth_info)
|
||||||
# OAuth2 spec says that’s what can happen when some stuff is
|
# OAuth2 spec says that’s what can happen when some stuff is
|
||||||
# wrong.
|
# wrong.
|
||||||
# we have to interpret the JSON further
|
# we have to interpret the JSON further
|
||||||
|
|||||||
Reference in New Issue
Block a user