diff --git a/lib/src/oauth2.dart b/lib/src/oauth2.dart index d4d88c9f6..38497ac6b 100644 --- a/lib/src/oauth2.dart +++ b/lib/src/oauth2.dart @@ -184,7 +184,9 @@ Credentials? loadCredentials() { return credentials; } catch (e) { - log.error('Warning: could not load the saved OAuth2 credentials: $e\n' + // Don't print the error message itself here. I might be leaking data about + // credentials. + log.error('Warning: could not load the saved OAuth2 credentials.\n' 'Obtaining new credentials...'); return null; // null means re-authorize. }