diff --git a/HMCLCore/src/main/java/org/jackhuang/hmcl/download/MultipleSourceVersionList.java b/HMCLCore/src/main/java/org/jackhuang/hmcl/download/MultipleSourceVersionList.java index 703e2ff53..b6ca45a46 100644 --- a/HMCLCore/src/main/java/org/jackhuang/hmcl/download/MultipleSourceVersionList.java +++ b/HMCLCore/src/main/java/org/jackhuang/hmcl/download/MultipleSourceVersionList.java @@ -60,7 +60,7 @@ public class MultipleSourceVersionList extends VersionList { } catch (Exception e) { if (sourceIndex == backends.length - 1) { LOG.warning("Failed to fetch versions list from all sources", e); - return null; + throw e; } else { LOG.warning("Failed to fetch versions list and try to fetch from other source", e); return refreshAsync(gameVersion, sourceIndex + 1);