|
@ -290,7 +290,8 @@ namespace IPA.Updating.BeatMods |
|
|
catch (Exception e) |
|
|
catch (Exception e) |
|
|
{ |
|
|
{ |
|
|
Logger.updater.Error($"Error getting info for {dep.Name}"); |
|
|
Logger.updater.Error($"Error getting info for {dep.Name}"); |
|
|
Logger.updater.Error(e); |
|
|
|
|
|
|
|
|
if (SelfConfig.SelfConfigRef.Value.Debug.ShowHandledErrorStackTraces) |
|
|
|
|
|
Logger.updater.Error(e); |
|
|
dep.MetaRequestFailed = true; |
|
|
dep.MetaRequestFailed = true; |
|
|
continue; |
|
|
continue; |
|
|
} |
|
|
} |
|
@ -356,7 +357,8 @@ namespace IPA.Updating.BeatMods |
|
|
catch (Exception e) |
|
|
catch (Exception e) |
|
|
{ |
|
|
{ |
|
|
Logger.updater.Error($"Error getting mod list for {dep.Name}"); |
|
|
Logger.updater.Error($"Error getting mod list for {dep.Name}"); |
|
|
Logger.updater.Error(e); |
|
|
|
|
|
|
|
|
if (SelfConfig.SelfConfigRef.Value.Debug.ShowHandledErrorStackTraces) |
|
|
|
|
|
Logger.updater.Error(e); |
|
|
dep.MetaRequestFailed = true; |
|
|
dep.MetaRequestFailed = true; |
|
|
continue; |
|
|
continue; |
|
|
} |
|
|
} |
|
@ -440,7 +442,8 @@ namespace IPA.Updating.BeatMods |
|
|
catch (Exception e) |
|
|
catch (Exception e) |
|
|
{ |
|
|
{ |
|
|
Logger.updater.Error($"Error occurred while trying to get information for {item}"); |
|
|
Logger.updater.Error($"Error occurred while trying to get information for {item}"); |
|
|
Logger.updater.Error(e); |
|
|
|
|
|
|
|
|
if (SelfConfig.SelfConfigRef.Value.Debug.ShowHandledErrorStackTraces) |
|
|
|
|
|
Logger.updater.Error(e); |
|
|
yield break; |
|
|
yield break; |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
@ -509,9 +512,11 @@ namespace IPA.Updating.BeatMods |
|
|
{ // any exception is an intercept exception
|
|
|
{ // any exception is an intercept exception
|
|
|
Logger.updater.Error($"BeatMods did not return expected data for {item.Name}"); |
|
|
Logger.updater.Error($"BeatMods did not return expected data for {item.Name}"); |
|
|
} |
|
|
} |
|
|
|
|
|
else |
|
|
|
|
|
Logger.updater.Error($"Error downloading mod {item.Name}"); |
|
|
|
|
|
|
|
|
Logger.updater.Error($"Error downloading mod {item.Name}"); |
|
|
|
|
|
Logger.updater.Error(downloadTask.Exception); |
|
|
|
|
|
|
|
|
if (SelfConfig.SelfConfigRef.Value.Debug.ShowHandledErrorStackTraces) |
|
|
|
|
|
Logger.updater.Error(downloadTask.Exception); |
|
|
|
|
|
|
|
|
installFail?.Invoke(item, downloadTask.Exception); |
|
|
installFail?.Invoke(item, downloadTask.Exception); |
|
|
continue; |
|
|
continue; |
|
|