We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cc3300d commit 63cf28bCopy full SHA for 63cf28b
packages/core/src/codewhisperer/util/authUtil.ts
@@ -286,9 +286,12 @@ export class AuthUtil {
286
287
public isConnectionValid(): boolean {
288
const connectionValid = this.conn !== undefined && !this.secondaryAuth.isConnectionExpired
289
- getLogger().debug(`codewhisperer: Connection is valid = ${connectionValid},
+ if (connectionValid === false) {
290
+ getLogger().debug(`codewhisperer: Connection is valid = ${connectionValid},
291
connection is undefined = ${this.conn === undefined},
292
secondaryAuth connection expired = ${this.secondaryAuth.isConnectionExpired}`)
293
+ }
294
+
295
return connectionValid
296
}
297
0 commit comments