mirror of
https://github.com/microsoft/vscode.git
synced 2026-04-23 10:08:49 +01:00
fix error message for https://github.com/microsoft/vscode/issues/143031
This commit is contained in:
@@ -42,7 +42,7 @@ export class ExtHostLanguages implements ExtHostLanguagesShape {
|
||||
await this._proxy.$changeLanguage(uri, languageId);
|
||||
const data = this._documents.getDocumentData(uri);
|
||||
if (!data) {
|
||||
throw new Error(`document '${uri.toString}' NOT found`);
|
||||
throw new Error(`document '${uri.toString()}' NOT found`);
|
||||
}
|
||||
return data.document;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user