mirror of
https://github.com/microsoft/vscode.git
synced 2026-05-08 17:19:48 +01:00
fix #126907
This commit is contained in:
@@ -1231,6 +1231,9 @@ export class TerminalInstance extends Disposable implements ITerminalInstance {
|
||||
exitCodeMessage = nls.localize('terminated.exitCodeOnly', "The terminal process terminated with exit code: {0}.", this._exitCode);
|
||||
break;
|
||||
case 'object':
|
||||
if (exitCodeOrError.message.toString().includes('Could not find pty with id')) {
|
||||
break;
|
||||
}
|
||||
this._exitCode = exitCodeOrError.code;
|
||||
exitCodeMessage = nls.localize('launchFailed.errorMessage', "The terminal process failed to launch: {0}.", exitCodeOrError.message);
|
||||
break;
|
||||
|
||||
Reference in New Issue
Block a user