Skip to content

Commit

Permalink
ignore 'screen size is bogus' error; fixes microsoft/vscode#75932; im…
Browse files Browse the repository at this point in the history
…itiates similar fix for a different extension microsoft/vscode-node-debug/commit/5298920
  • Loading branch information
nukoyluoglu committed Jun 20, 2020
1 parent eedadd9 commit de02e9a
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions Extension/src/Debugger/nativeAttach.ts
Original file line number Diff line number Diff line change
Expand Up @@ -175,6 +175,10 @@ function execChildProcess(process: string, workingDirectory?: string): Promise<s
}

if (stderr && stderr.length > 0) {
if (stderr.indexOf('screen size is bogus') >= 0) {
// ignore this error silently; see https://github.com/microsoft/vscode/issues/75932
// see similar fix for the Node - Debug (Legacy) Extension at https://github.com/microsoft/vscode-node-debug/commit/5298920
}
reject(new Error(stderr));
return;
}
Expand Down

0 comments on commit de02e9a

Please sign in to comment.