Skip to content

Commit 9a9ffa0

Browse files
committed
debug: propagate error properly
fixes microsoft#20585
1 parent cc71202 commit 9a9ffa0

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/vs/workbench/parts/debug/electron-browser/debugCommands.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ export function registerCommands(): void {
2424
configurationOrName = debugService.getViewModel().selectedConfigurationName;
2525
}
2626

27-
debugService.createProcess(configurationOrName).done(undefined, errors.onUnexpectedError);
27+
return debugService.createProcess(configurationOrName);
2828
},
2929
when: CONTEXT_NOT_IN_DEBUG_MODE,
3030
primary: undefined

0 commit comments

Comments
 (0)