Make sure the same GitHub account is used until we support multiple GH accounts (#206847)

Fixes https://github.com/microsoft/vscode/issues/203850
This commit is contained in:
Tyler James Leonhardt
2024-03-04 15:01:51 -08:00
committed by GitHub
parent 5abb308447
commit 191be39e5a
4 changed files with 53 additions and 12 deletions

View File

@@ -8,3 +8,7 @@ export const TIMED_OUT_ERROR = 'Timed out';
// These error messages are internal and should not be shown to the user in any way.
export const USER_CANCELLATION_ERROR = 'User Cancelled';
export const NETWORK_ERROR = 'network error';
// This is the error message that we throw if the login was cancelled for any reason. Extensions
// calling `getSession` can handle this error to know that the user cancelled the login.
export const CANCELLATION_ERROR = 'Cancelled';