From 5fe09840332f4eab07e05f0060eb04c11c03aade Mon Sep 17 00:00:00 2001 From: EHOAPHA Date: Tue, 11 Jun 2024 11:56:54 -0400 Subject: [PATCH] Continue mirror extension versions even if one fails Currently, the OpenVSX server stops mirroring extension version if one of the versions failed to be mirrored. This commit logs the mirror failure instead of throwing an error. Fixes #923. --- .../java/org/eclipse/openvsx/mirror/MirrorExtensionService.java | 1 - 1 file changed, 1 deletion(-) diff --git a/server/src/main/java/org/eclipse/openvsx/mirror/MirrorExtensionService.java b/server/src/main/java/org/eclipse/openvsx/mirror/MirrorExtensionService.java index 1a38b03a2..2314e36e4 100644 --- a/server/src/main/java/org/eclipse/openvsx/mirror/MirrorExtensionService.java +++ b/server/src/main/java/org/eclipse/openvsx/mirror/MirrorExtensionService.java @@ -143,7 +143,6 @@ private void mirrorExtensionVersions(String namespaceName, String extensionName, data.getMirroredVersions().increment(); } catch (Throwable t) { data.getFailedVersions().increment(); - throw t; } } }