Skip to content

Commit d9453ea

Browse files
committed
delete log for incorrect range
1 parent 8bdd4ad commit d9453ea

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

plugins/amazonq/codewhisperer/jetbrains-community/src/software/aws/toolkits/jetbrains/services/codewhisperer/telemetry/CodeWhispererUserModificationTracker.kt

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -167,10 +167,6 @@ class CodeWhispererUserModificationTracker(private val project: Project) : Dispo
167167
val end = acceptedSuggestion.range.endOffset
168168
if (document != null) {
169169
if (start < 0 || end < start || end > document.textLength) {
170-
LOG.warn {
171-
"Invalid range for suggestion ${acceptedSuggestion.requestId}: " +
172-
"start=$start, end=$end, docLength=${document.textLength}"
173-
}
174170
sendModificationTelemetry(acceptedSuggestion, null)
175171
sendUserModificationTelemetryToServiceAPI(acceptedSuggestion)
176172
return

0 commit comments

Comments
 (0)