提交 f22e8a84 编写于 作者: J Joao Moreno

improve extenion error message

上级 ab9e8cd1
......@@ -115,8 +115,8 @@ export class ExtensionsStatusbarItem implements statusbar.IStatusbarItem {
errors.forEach(m => {
const extension = installed.filter(ext => ext.path === m.source).pop();
const actions = [CloseAction];
const name = (extension && extension.name) || m.source;
const message = `${ name }: ${ m.message }`;
const name = extension && extension.name;
const message = name ? `${ name }: ${ m.message }` : m.message;
if (extension) {
const actionLabel = nls.localize('uninstall', "Uninstall");
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册