mirror of
https://github.com/microsoft/vscode.git
synced 2026-04-24 10:38:59 +01:00
allow for error dedup and don't mention offending line number, fixes #5494
This commit is contained in:
@@ -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];
|
||||
|
||||
Reference in New Issue
Block a user