mirror of
https://github.com/microsoft/vscode.git
synced 2026-05-31 00:10:04 +08:00
Add a log statement for acquireTokenSilent (#263951)
* Add a log statement for acquireTokenSilent * stringify
This commit is contained in:
committed by
GitHub
parent
1ce5a05bf0
commit
5b25d491ca
@@ -496,6 +496,7 @@ export class MsalAuthProvider implements AuthenticationProvider {
|
||||
// If we can't get a token silently, the account is probably in a bad state so we should skip it
|
||||
// MSAL will log this already, so we don't need to log it again
|
||||
this._telemetryReporter.sendTelemetryErrorEvent(e);
|
||||
this._logger.info(`[getAllSessionsForPca] [${scopeData.scopeStr}] [${account.username}] failed to acquire token silently, skipping account`, JSON.stringify(e));
|
||||
continue;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user