Merge pull request #382 from jcreedcmu/jcreed/zip-logging

Log more details when source archive entries aren't found
This commit is contained in:
jcreedcmu
2020-05-26 12:38:40 -04:00
committed by GitHub

View File

@@ -238,7 +238,7 @@ export class ArchiveFileSystemProvider implements vscode.FileSystemProvider {
if (archive.dirMap.has(reqPath)) {
return new Directory(reqPath);
}
throw vscode.FileSystemError.FileNotFound(uri);
throw vscode.FileSystemError.FileNotFound(`uri '${uri.toString()}', interpreted as '${reqPath}' in archive '${ref.sourceArchiveZipPath}'`);
}
private async _lookupAsFile(uri: vscode.Uri): Promise<File> {