File tree Expand file tree Collapse file tree 3 files changed +8
-2
lines changed Expand file tree Collapse file tree 3 files changed +8
-2
lines changed Original file line number Diff line number Diff line change 1+ ---
2+ " roo-cline " : patch
3+ ---
4+
5+ Add consecutive mistake count to diff error telemetry
Original file line number Diff line number Diff line change @@ -90,7 +90,7 @@ export async function applyDiffTool(
9090 cline . consecutiveMistakeCountForApplyDiff . set ( relPath , currentCount )
9191 let formattedError = ""
9292
93- telemetryService . captureDiffApplicationError ( cline . taskId )
93+ telemetryService . captureDiffApplicationError ( cline . taskId , currentCount )
9494
9595 if ( diffResult . failParts && diffResult . failParts . length > 0 ) {
9696 for ( const failPart of diffResult . failParts ) {
Original file line number Diff line number Diff line change @@ -290,9 +290,10 @@ class TelemetryService {
290290 } )
291291 }
292292
293- public captureDiffApplicationError ( taskId : string ) : void {
293+ public captureDiffApplicationError ( taskId : string , consecutiveMistakeCount : number ) : void {
294294 this . captureEvent ( PostHogClient . EVENTS . ERRORS . DIFF_APPLICATION_ERROR , {
295295 taskId,
296+ consecutiveMistakeCount,
296297 } )
297298 }
298299
You can’t perform that action at this time.
0 commit comments