Expand the logging for the auth data a bit more

We're getting some reports that people are suddenly logged out. The working
theory is that they are mixing staging & production builds. This logging
should tell us enough to find out if that is the case!
This commit is contained in:
Jaime van Kessel 2021-01-28 10:31:47 +01:00
parent 2991881145
commit f85cad37cf
No known key found for this signature in database
GPG key ID: 3710727397403C91
2 changed files with 5 additions and 3 deletions

View file

@ -247,7 +247,7 @@ class AuthorizationService:
def _storeAuthData(self, auth_data: Optional[AuthenticationResponse] = None) -> None:
"""Store authentication data in preferences."""
Logger.log("d", "Attempting to store the auth data")
Logger.log("d", "Attempting to store the auth data for [%s]", self._settings.OAUTH_SERVER_URL)
if self._preferences is None:
Logger.log("e", "Unable to save authentication data, since no preference has been set!")
return