Skip to content

Commit 3e4eeeb

Browse files
committed
Log more details when source archive entries aren't found
1 parent f6f2b99 commit 3e4eeeb

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

extensions/ql-vscode/src/archive-filesystem-provider.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -238,7 +238,7 @@ export class ArchiveFileSystemProvider implements vscode.FileSystemProvider {
238238
if (archive.dirMap.has(reqPath)) {
239239
return new Directory(reqPath);
240240
}
241-
throw vscode.FileSystemError.FileNotFound(uri);
241+
throw vscode.FileSystemError.FileNotFound(`uri '${uri.toString()}', interpreted as '${reqPath}' in archive '${ref.sourceArchiveZipPath}'`);
242242
}
243243

244244
private async _lookupAsFile(uri: vscode.Uri): Promise<File> {

0 commit comments

Comments
 (0)