mirror of
https://github.com/google-gemini/gemini-cli.git
synced 2026-04-23 19:44:30 -07:00
fix(telemetry): record onboarding end for cached credentials success
This commit is contained in:
@@ -165,6 +165,7 @@ async function initOauthClient(
|
||||
access_token: process.env['GOOGLE_CLOUD_ACCESS_TOKEN'],
|
||||
});
|
||||
await fetchAndCacheUserInfo(client);
|
||||
recordOnboardingEndIfApplicable();
|
||||
return client;
|
||||
}
|
||||
|
||||
@@ -201,6 +202,7 @@ async function initOauthClient(
|
||||
debugLogger.log('Loaded cached credentials.');
|
||||
await triggerPostAuthCallbacks(credentials as Credentials);
|
||||
|
||||
recordOnboardingEndIfApplicable();
|
||||
return client;
|
||||
}
|
||||
} catch (error) {
|
||||
|
||||
Reference in New Issue
Block a user