Fixes #138804: Improve logging to contain also the extension id

This commit is contained in:
Alex Dima
2021-12-15 14:52:54 +01:00
parent 8f7589750a
commit bd12165fd2

View File

@@ -317,6 +317,7 @@ export abstract class AbstractExtHostExtensionService extends Disposable impleme
});
}
} catch (err) {
this._logService.error(`An error occurred when deactivating the extension '${extensionId.value}':`);
this._logService.error(err);
}
@@ -324,6 +325,7 @@ export abstract class AbstractExtHostExtensionService extends Disposable impleme
try {
dispose(extension.subscriptions);
} catch (err) {
this._logService.error(`An error occurred when deactivating the subscriptions for extension '${extensionId.value}':`);
this._logService.error(err);
}