mirror of
https://github.com/coder/code-server.git
synced 2025-07-30 21:45:08 +08:00
Update to VS Code 1.52.1
This commit is contained in:
@ -40,6 +40,15 @@ export async function activate(context: vscode.ExtensionContext) {
|
||||
onDidChangeSessions.fire({ added: [session.id], removed: [], changed: [] });
|
||||
return session;
|
||||
} catch (e) {
|
||||
// If login was cancelled, do not notify user.
|
||||
if (e.message === 'Cancelled') {
|
||||
/* __GDPR__
|
||||
"loginCancelled" : { }
|
||||
*/
|
||||
telemetryReporter.sendTelemetryEvent('loginCancelled');
|
||||
throw e;
|
||||
}
|
||||
|
||||
/* __GDPR__
|
||||
"loginFailed" : { }
|
||||
*/
|
||||
|
Reference in New Issue
Block a user