diff --git a/src/vs/workbench/api/node/extHostDocuments.ts b/src/vs/workbench/api/node/extHostDocuments.ts index 8be2db27dbc..ae4fe5a9c7f 100644 --- a/src/vs/workbench/api/node/extHostDocuments.ts +++ b/src/vs/workbench/api/node/extHostDocuments.ts @@ -322,7 +322,7 @@ export class ExtHostDocumentData extends MirrorModel2 { } if (line < 0 || line >= this._lines.length) { - throw new Error('Illegal value ' + line + ' for `line`'); + throw new Error('Illegal value for `line`'); } let result = this._textLines[line];