mirror of
https://github.com/google-gemini/gemini-cli.git
synced 2026-03-10 22:21:22 -07:00
fix(telemetry): record onboarding end for cached credentials success
This commit is contained in:
@@ -167,6 +167,7 @@ async function initOauthClient(
|
||||
access_token: process.env['GOOGLE_CLOUD_ACCESS_TOKEN'],
|
||||
});
|
||||
await fetchAndCacheUserInfo(client);
|
||||
recordOnboardingEndIfApplicable();
|
||||
return client;
|
||||
}
|
||||
|
||||
@@ -203,6 +204,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