Skip to content

Commit c7fe48f

Browse files
dhasani23David Hasani
andauthored
telemetry: add "reason" field to metric #4175
followup to #4171 Co-authored-by: David Hasani <[email protected]>
1 parent 1e7da02 commit c7fe48f

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/codewhisperer/service/transformByQHandler.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -397,6 +397,7 @@ export async function zipCode(modulePath: string) {
397397
codeTransformTotalByteSize: 0,
398398
codeTransformRunTimeLatency: calculateTotalLatency(zipStartTime),
399399
result: mavenStatus,
400+
reason: mavenFailed ? 'MavenCommandFailed' : undefined,
400401
})
401402
return tempFilePath
402403
}

0 commit comments

Comments
 (0)