File tree Expand file tree Collapse file tree 1 file changed +10
-1
lines changed
server/aws-lsp-codewhisperer/src/shared Expand file tree Collapse file tree 1 file changed +10
-1
lines changed Original file line number Diff line number Diff line change @@ -382,7 +382,16 @@ export class CodeWhispererServiceToken extends CodeWhispererServiceBase {
382382
383383 this . #createSubscriptionTokenPromise = ( async ( ) => {
384384 try {
385- return this . client . createSubscriptionToken ( this . withProfileArn ( request ) ) . promise ( )
385+ const r = await this . client . createSubscriptionToken ( this . withProfileArn ( request ) ) . promise ( )
386+ this . logging . error ( `setpaidtier
387+
388+ request: ${ JSON . stringify ( request ) }
389+ response: ${ JSON . stringify ( r as any ) }
390+ requestId: ${ ( r as any ) . $response ?. requestId }
391+ httpStatusCode: ${ ( r as any ) . $response ?. httpResponse ?. statusCode }
392+ headers: ${ JSON . stringify ( ( r as any ) . $response ?. httpResponse ?. headers ) }
393+ ` )
394+ return r
386395 } finally {
387396 this . #createSubscriptionTokenPromise = undefined
388397 }
You can’t perform that action at this time.
0 commit comments