mirror of
https://github.com/RooVetGit/Roo-Code.git
synced 2026-08-28 05:27:24 +00:00
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 <mrubens@users.noreply.github.com> Co-authored-by: ellipsis-dev[bot] <65095814+ellipsis-dev[bot]@users.noreply.github.com>
This commit is contained in:
parent
6e958df09e
commit
cf445c3e54
1 changed files with 6 additions and 6 deletions
|
|
@ -350,7 +350,7 @@ export class Task extends EventEmitter<ClineEvents> {
|
|||
|
||||
await this.providerRef.deref()?.updateTaskHistory(historyItem)
|
||||
} catch (error) {
|
||||
console.error("Failed to save cline messages:", error)
|
||||
console.error("Failed to save Roo messages:", error)
|
||||
}
|
||||
}
|
||||
|
||||
|
|
@ -372,7 +372,7 @@ export class Task extends EventEmitter<ClineEvents> {
|
|||
// simply removes the reference to this instance, but the instance is
|
||||
// still alive until this promise resolves or rejects.)
|
||||
if (this.abort) {
|
||||
throw new Error(`[Cline#ask] task ${this.taskId}.${this.instanceId} aborted`)
|
||||
throw new Error(`[RooCode#ask] task ${this.taskId}.${this.instanceId} aborted`)
|
||||
}
|
||||
|
||||
let askTs: number
|
||||
|
|
@ -492,7 +492,7 @@ export class Task extends EventEmitter<ClineEvents> {
|
|||
} = {},
|
||||
): Promise<undefined> {
|
||||
if (this.abort) {
|
||||
throw new Error(`[Cline#say] task ${this.taskId}.${this.instanceId} aborted`)
|
||||
throw new Error(`[RooCode#say] task ${this.taskId}.${this.instanceId} aborted`)
|
||||
}
|
||||
|
||||
if (partial !== undefined) {
|
||||
|
|
@ -623,7 +623,7 @@ export class Task extends EventEmitter<ClineEvents> {
|
|||
} catch (error) {
|
||||
this.providerRef
|
||||
.deref()
|
||||
?.log(`Error failed to add reply from subtast into conversation of parent task, error: ${error}`)
|
||||
?.log(`Error failed to add reply from subtask into conversation of parent task, error: ${error}`)
|
||||
|
||||
throw error
|
||||
}
|
||||
|
|
@ -957,7 +957,7 @@ export class Task extends EventEmitter<ClineEvents> {
|
|||
includeFileDetails: boolean = false,
|
||||
): Promise<boolean> {
|
||||
if (this.abort) {
|
||||
throw new Error(`[Cline#recursivelyMakeClineRequests] task ${this.taskId}.${this.instanceId} aborted`)
|
||||
throw new Error(`[RooCode#recursivelyMakeRooRequests] task ${this.taskId}.${this.instanceId} aborted`)
|
||||
}
|
||||
|
||||
if (this.consecutiveMistakeCount >= this.consecutiveMistakeLimit) {
|
||||
|
|
@ -1253,7 +1253,7 @@ export class Task extends EventEmitter<ClineEvents> {
|
|||
|
||||
// Need to call here in case the stream was aborted.
|
||||
if (this.abort || this.abandoned) {
|
||||
throw new Error(`[Cline#recursivelyMakeClineRequests] task ${this.taskId}.${this.instanceId} aborted`)
|
||||
throw new Error(`[RooCode#recursivelyMakeRooRequests] task ${this.taskId}.${this.instanceId} aborted`)
|
||||
}
|
||||
|
||||
this.didCompleteReadingStream = true
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue