diff --git a/src/premium/subscription/subscriptionService.ts b/src/premium/subscription/subscriptionService.ts index 8c24ff3..bdfe33d 100644 --- a/src/premium/subscription/subscriptionService.ts +++ b/src/premium/subscription/subscriptionService.ts @@ -353,6 +353,7 @@ export class SubscriptionService implements Disposable { } } + @debug({ args: { 0: s => s?.account.label } }) private async checkInAndValidate(session: AuthenticationSession): Promise { try { const checkInData = { @@ -460,6 +461,7 @@ export class SubscriptionService implements Disposable { private _session: AuthenticationSession | null | undefined; @gate() + @debug() private async ensureSession(createIfNeeded: boolean): Promise { if (this._sessionPromise != null && this._session === undefined) { this._session = await this._sessionPromise; @@ -484,6 +486,7 @@ export class SubscriptionService implements Disposable { return this._session ?? undefined; } + @debug() private async getOrCreateSession(createIfNeeded: boolean): Promise { let session: AuthenticationSession | null | undefined;