提交 bcbd8445 编写于 作者: I isidor

debug: show error message, do not propagate it

上级 79a51824
......@@ -738,7 +738,7 @@ export class DebugService implements debug.IDebugService {
const configureAction = this.instantiationService.createInstance(debugactions.ConfigureAction, debugactions.ConfigureAction.ID, debugactions.ConfigureAction.LABEL);
const actions = (error.actions && error.actions.length) ? error.actions.concat([configureAction]) : [CloseAction, configureAction];
return TPromise.wrapError(errors.create(error.message, { actions }));
this.messageService.show(severity.Error, { message: errorMessage, actions });
});
});
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册