From 17aa9eea97b46de1190aa168d6e32a9f860b377c Mon Sep 17 00:00:00 2001 From: Andrew Pareles Date: Thu, 17 Apr 2025 18:29:37 -0700 Subject: [PATCH] prompt --- src/vs/workbench/contrib/void/browser/directoryStrService.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/vs/workbench/contrib/void/browser/directoryStrService.ts b/src/vs/workbench/contrib/void/browser/directoryStrService.ts index 8174f63f..1d62638c 100644 --- a/src/vs/workbench/contrib/void/browser/directoryStrService.ts +++ b/src/vs/workbench/contrib/void/browser/directoryStrService.ts @@ -327,7 +327,7 @@ class DirectoryStrService extends Disposable implements IDirectoryStrService { async getDirectoryStrTool(uri: URI, options?: { maxItemsPerDir?: number }) { const eRoot = this.explorerService.findClosest(uri) - if (!eRoot) throw new Error(`There was a problem reading the URI: ${uri.fsPath}.`) + if (!eRoot) throw new Error(`The folder ${uri.fsPath} does not exist.`) const maxItemsPerDir = options?.maxItemsPerDir ?? START_MAX_ITEMS_PER_DIR; // Use START_MAX_ITEMS_PER_DIR