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 aefd659 commit cefbb7cCopy full SHA for cefbb7c
packages/core/src/codewhisperer/util/authUtil.ts
@@ -215,7 +215,7 @@ export class AuthUtil implements IAuthProvider {
215
if (this.session) {
216
const credential = (await this.session.getCredential()).credential
217
if (typeof credential !== 'object') {
218
- throw new ToolkitError('Cannot get token with SSO session')
+ throw new ToolkitError('Cannot get credential with SSO session')
219
}
220
return credential
221
} else {
0 commit comments