Skip to content

Commit 2cfe87e

Browse files
committed
another log
1 parent cb1c3b6 commit 2cfe87e

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

packages/core/src/auth/auth.ts

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -870,6 +870,8 @@ export class Auth implements AuthService, ConnectionManager {
870870
private readonly getToken = keyedDebounce(this._getToken.bind(this))
871871
@withTelemetryContext({ name: '_getToken', class: authClassName })
872872
private async _getToken(id: Connection['id'], provider: SsoAccessTokenProvider): Promise<SsoToken> {
873+
//eslint-disable-next-line aws-toolkits/no-console-log
874+
console.log('_getToken called')
873875
const token = await provider.getToken().catch((err) => {
874876
this.throwOnRecoverableError(err)
875877

@@ -922,7 +924,8 @@ export class Auth implements AuthService, ConnectionManager {
922924
@withTelemetryContext({ name: 'handleInvalidCredentials', class: authClassName })
923925
private async handleInvalidCredentials<T>(id: Connection['id'], refresh: () => Promise<T>): Promise<T> {
924926
getLogger().info(`auth: Handling invalid credentials of connection: ${id}`)
925-
927+
//eslint-disable-next-line aws-toolkits/no-console-log
928+
console.log('handleInvalidCredentials called')
926929
let profile: StoredProfile
927930
try {
928931
profile = this.store.getProfileOrThrow(id)

0 commit comments

Comments
 (0)