Skip to content

Commit

Permalink
Support local install for more error cases (#206323)
Browse files Browse the repository at this point in the history
  • Loading branch information
sandy081 committed Feb 27, 2024
1 parent 3a1f27a commit c036c4d
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,10 @@ export class NativeRemoteExtensionManagementService extends RemoteExtensionManag
} catch (error) {
switch (error.name) {
case ExtensionManagementErrorCode.Download:
case ExtensionManagementErrorCode.DownloadSignature:
case ExtensionManagementErrorCode.Gallery:
case ExtensionManagementErrorCode.Internal:
case ExtensionManagementErrorCode.Unknown:
try {
this.logService.error(`Error while installing '${extension.identifier.id}' extension in the remote server.`, toErrorMessage(error));
return await this.downloadAndInstall(extension, installOptions || {});
Expand Down

0 comments on commit c036c4d

Please sign in to comment.