Skip to content

Commit cf445c3

Browse files
xyOz-devmrubensellipsis-dev[bot]
authored
Log Cleanup to Remove Cline (#3704)
* Rename Errors & Fix Spelling Mistake * Update src/core/task/Task.ts Co-authored-by: ellipsis-dev[bot] <65095814+ellipsis-dev[bot]@users.noreply.github.com> --------- Co-authored-by: Matt Rubens <[email protected]> Co-authored-by: ellipsis-dev[bot] <65095814+ellipsis-dev[bot]@users.noreply.github.com>
1 parent 6e958df commit cf445c3

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

src/core/task/Task.ts

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -350,7 +350,7 @@ export class Task extends EventEmitter<ClineEvents> {
350350

351351
await this.providerRef.deref()?.updateTaskHistory(historyItem)
352352
} catch (error) {
353-
console.error("Failed to save cline messages:", error)
353+
console.error("Failed to save Roo messages:", error)
354354
}
355355
}
356356

@@ -372,7 +372,7 @@ export class Task extends EventEmitter<ClineEvents> {
372372
// simply removes the reference to this instance, but the instance is
373373
// still alive until this promise resolves or rejects.)
374374
if (this.abort) {
375-
throw new Error(`[Cline#ask] task ${this.taskId}.${this.instanceId} aborted`)
375+
throw new Error(`[RooCode#ask] task ${this.taskId}.${this.instanceId} aborted`)
376376
}
377377

378378
let askTs: number
@@ -492,7 +492,7 @@ export class Task extends EventEmitter<ClineEvents> {
492492
} = {},
493493
): Promise<undefined> {
494494
if (this.abort) {
495-
throw new Error(`[Cline#say] task ${this.taskId}.${this.instanceId} aborted`)
495+
throw new Error(`[RooCode#say] task ${this.taskId}.${this.instanceId} aborted`)
496496
}
497497

498498
if (partial !== undefined) {
@@ -623,7 +623,7 @@ export class Task extends EventEmitter<ClineEvents> {
623623
} catch (error) {
624624
this.providerRef
625625
.deref()
626-
?.log(`Error failed to add reply from subtast into conversation of parent task, error: ${error}`)
626+
?.log(`Error failed to add reply from subtask into conversation of parent task, error: ${error}`)
627627

628628
throw error
629629
}
@@ -957,7 +957,7 @@ export class Task extends EventEmitter<ClineEvents> {
957957
includeFileDetails: boolean = false,
958958
): Promise<boolean> {
959959
if (this.abort) {
960-
throw new Error(`[Cline#recursivelyMakeClineRequests] task ${this.taskId}.${this.instanceId} aborted`)
960+
throw new Error(`[RooCode#recursivelyMakeRooRequests] task ${this.taskId}.${this.instanceId} aborted`)
961961
}
962962

963963
if (this.consecutiveMistakeCount >= this.consecutiveMistakeLimit) {
@@ -1253,7 +1253,7 @@ export class Task extends EventEmitter<ClineEvents> {
12531253

12541254
// Need to call here in case the stream was aborted.
12551255
if (this.abort || this.abandoned) {
1256-
throw new Error(`[Cline#recursivelyMakeClineRequests] task ${this.taskId}.${this.instanceId} aborted`)
1256+
throw new Error(`[RooCode#recursivelyMakeRooRequests] task ${this.taskId}.${this.instanceId} aborted`)
12571257
}
12581258

12591259
this.didCompleteReadingStream = true

0 commit comments

Comments
 (0)