fix(telemetry): record onboarding end for cached credentials success

This commit is contained in:
Srinath Padmanabhan
2026-02-26 07:04:05 -08:00
parent 1a94129b09
commit 075ac296c6
+2
View File
@@ -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) {