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 1ce79fb commit 297f88bCopy full SHA for 297f88b
src/codewhisperer/service/recommendationHandler.ts
@@ -240,8 +240,7 @@ export class RecommendationHandler {
240
if (latency === 0) {
241
latency = startTime !== 0 ? performance.now() - startTime : 0
242
}
243
- getLogger().error('CodeWhisperer Invocation Exception : ', error)
244
- getLogger().verbose(`CodeWhisperer Invocation Exception : ${error}`)
+ getLogger().error('CodeWhisperer Invocation Exception : %s', (error as Error).message)
245
if (isAwsError(error)) {
246
this.errorMessagePrompt = error.message
247
requestId = error.requestId || ''
0 commit comments