Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 6 additions & 6 deletions src/core/task/Task.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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)
}
}

Expand All @@ -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
Expand Down Expand Up @@ -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) {
Expand Down Expand Up @@ -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
}
Expand Down Expand Up @@ -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) {
Expand Down Expand Up @@ -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
Expand Down
Loading