Skip to content

Commit 74f6148

Browse files
authored
1 parent 36bfa70 commit 74f6148

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/vs/platform/extensionManagement/common/abstractExtensionManagementService.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -436,8 +436,8 @@ export abstract class AbstractExtensionManagementService extends Disposable impl
436436
try {
437437
compatible = await this.checkAndGetCompatibleVersion(galleryExtension, false, installPreRelease);
438438
} catch (error) {
439-
if (error instanceof ExtensionManagementError && error.code === ExtensionManagementErrorCode.IncompatibleTargetPlatform && !isDependency) {
440-
this.logService.info('Skipping the packed extension as it cannot be installed', galleryExtension.identifier.id);
439+
if (!isDependency) {
440+
this.logService.info('Skipping the packed extension as it cannot be installed', galleryExtension.identifier.id, getErrorMessage(error));
441441
continue;
442442
} else {
443443
throw error;

0 commit comments

Comments
 (0)