Skip to content

Commit b694273

Browse files
authored
Add more logs to client side exceptions (#3729)
1 parent 7a90966 commit b694273

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

jetbrains-core/src/software/aws/toolkits/jetbrains/services/codewhisperer/service/CodeWhispererService.kt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -264,6 +264,9 @@ class CodeWhispererService {
264264
} else {
265265
message("codewhisperer.trigger.error.client_side")
266266
}
267+
if (statusCode < 500) {
268+
LOG.debug(e) { "Error invoking CodeWhisperer service" }
269+
}
267270
}
268271
val exceptionType = e::class.simpleName
269272
val responseContext = ResponseContext(sessionId, CodewhispererCompletionType.Unknown)

0 commit comments

Comments
 (0)