Git - add trace message if workspace folder cannot be resolved (#173410)

This commit is contained in:
Ladislau Szomoru 2023-02-04 10:15:27 +01:00 committed by GitHub
parent 91fccee240
commit 43db9d2d06
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -808,7 +808,8 @@ export class Model implements IRemoteSourcePublisherRegistry, IPostCommitCommand
result = await fs.promises.realpath(workspaceFolder.uri.fsPath, { encoding: 'utf8' });
this._workspaceFolders.set(workspaceFolder.uri.fsPath, result);
} catch (err) {
// noop - Folder does not exist
// noop - Workspace folder does not exist
this.logger.trace(`Failed to resolve workspace folder: "${workspaceFolder.uri.fsPath}". ${err}`);
}
}