Use the correct binary path for cline-core (#6065)
Binaries will be the cwd. When tools fail with an error, log the exception to the console. This makes debugging cline-core easier. # Conflicts: # src/services/ripgrep/index.ts # src/standalone/cline-core.ts
This commit is contained in:
1 parent
c0ca9889ff
commit
d08c394f68
3 files changed
+3
-2
No files matched your search
@@ -247,6 +247,7 @@ export class ToolExecutor {
|
||||
* Handles errors during tool execution
|
||||
*/
|
||||
private async handleError(action: string, error: Error, block: ToolUse): Promise<void> {
|
||||
console.log(error)
|
||||
const errorString = `Error ${action}: ${error.message}`
|
||||
await this.say("error", errorString)
|
||||
|
||||
|
||||
Reference in new issue
Block a user