提交 d52302cd 编写于 作者: S Sandeep Somavarapu

Fix logging

上级 97876fc0
......@@ -606,9 +606,9 @@ export class ExtensionManagementService implements IExtensionManagementService {
private async postUninstallExtension(extension: ILocalExtension, error?: string): TPromise<void> {
if (error) {
this.logService.info('Successfully uninstalled extension:', extension.identifier.id);
} else {
this.logService.error('Failed to uninstall extension:', extension.identifier.id, error);
} else {
this.logService.info('Successfully uninstalled extension:', extension.identifier.id);
// only report if extension has a mapped gallery extension. UUID identifies the gallery extension.
if (extension.identifier.uuid) {
await this.galleryService.reportStatistic(extension.manifest.publisher, extension.manifest.name, extension.manifest.version, StatisticType.Uninstall);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册