diff --git a/IPA.Loader/Updating/ModsaberML/Updater.cs b/IPA.Loader/Updating/ModsaberML/Updater.cs index d6719c38..c41fad84 100644 --- a/IPA.Loader/Updating/ModsaberML/Updater.cs +++ b/IPA.Loader/Updating/ModsaberML/Updater.cs @@ -62,6 +62,8 @@ namespace IPA.Updating.ModsaberML public bool Has { get; set; } = false; public HashSet Consumers { get; set; } = new HashSet(); + public bool MetaRequestFailed { get; set; } = false; + public BSPluginMeta LocalPluginMeta { get; set; } = null; public override string ToString() @@ -169,6 +171,7 @@ namespace IPA.Updating.ModsaberML { Logger.updater.Error($"Error getting info for {dep.Name}"); Logger.updater.Error(e); + dep.MetaRequestFailed = true; continue; } @@ -234,6 +237,12 @@ namespace IPA.Updating.ModsaberML { dep.Has = dep.Version != null;// dep.Version is only not null if its already installed + if (dep.MetaRequestFailed) + { + Logger.updater.Warn($"{dep.Name} info request failed, not trying again"); + continue; + } + var dict = new Ref>(null); yield return GetGameVersionMap(dep.Name, dict); try { dict.Verify(); }