Skip to content

Commit 9032ae8

Browse files
committed
Correction for telemetry entry.
1 parent 95fa698 commit 9032ae8

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

plugins/amazonq/chat/jetbrains-community/src/software/aws/toolkits/jetbrains/services/amazonqCodeTest/CodeWhispererUTGChatManager.kt

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -95,13 +95,13 @@ class CodeWhispererUTGChatManager(val project: Project, private val cs: Coroutin
9595
)
9696

9797
val codeTestResponseContext = createUploadUrl(codeTestChatHelper, previousIterationContext)
98-
if (codeTestResponseContext.payloadContext.payloadLimitCrossed == true) {
99-
fileTooLarge()
100-
}
10198
session.srcPayloadSize = codeTestResponseContext.payloadContext.srcPayloadSize
10299
session.srcZipFileSize = codeTestResponseContext.payloadContext.srcZipFileSize
103100
session.artifactUploadDuration = codeTestResponseContext.serviceInvocationContext.artifactsUploadDuration
104101
val path = codeTestResponseContext.currentFileRelativePath
102+
if (codeTestResponseContext.payloadContext.payloadLimitCrossed == true) {
103+
fileTooLarge()
104+
}
105105

106106
val createUploadUrlResponse = codeTestResponseContext.createUploadUrlResponse ?: return
107107
throwIfCancelled(session)

0 commit comments

Comments
 (0)