mirror of
https://github.com/microsoft/vscode.git
synced 2026-04-25 02:58:56 +01:00
Show error notification when profile fails
This commit is contained in:
@@ -602,7 +602,7 @@ export abstract class BaseExtHostTerminalService extends Disposable implements I
|
||||
if (token.isCancellationRequested) {
|
||||
return;
|
||||
}
|
||||
if (!profile) {
|
||||
if (!profile || !('options' in profile)) {
|
||||
throw new Error(`No terminal profile options provided for id "${id}"`);
|
||||
}
|
||||
if ('pty' in profile.options) {
|
||||
|
||||
Reference in New Issue
Block a user