Skip to content

Commit fac5f98

Browse files
authored
Merge pull request #382 from jcreedcmu/jcreed/zip-logging
Log more details when source archive entries aren't found
2 parents fccec96 + 3e4eeeb commit fac5f98

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)