We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b713ca6 commit 1ba066bCopy full SHA for 1ba066b
Source/ModuleManager/MMPatchLoader.cs
@@ -352,7 +352,7 @@ select s.modName
352
{
353
SHA_CONFIG.Load();
354
logger.Info("ConfigSHA loaded");
355
- if (null != SHA_CONFIG.Node)
+ if (null != SHA_CONFIG.Node) try
356
357
KSPe.ConfigNodeWithSteroids cs = KSPe.ConfigNodeWithSteroids.from(SHA_CONFIG.Node);
358
string storedSHA = cs.GetValue("SHA","");
@@ -371,6 +371,11 @@ select s.modName
371
logger.Info("Cache SHA, SIZE = " + storedSHA + ", " + storedTotalSize);
372
logger.Info("useCache = " + useCache);
373
}
374
+ catch (Exception e)
375
+ {
376
+ logger.Error("Error while reading SHA values from cache: " + e.ToString());
377
+ useCache = false;
378
+ }
379
380
return useCache;
381
0 commit comments