Skip to content

Commit a2fdef4

Browse files
committed
Don't overwrite other fatal messages
1 parent 51290e1 commit a2fdef4

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

ModuleManager/MMPatchRunner.cs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -80,12 +80,14 @@ public IEnumerator Run()
8080
{
8181
kspLogger.Exception("The patching thread threw an exception", patchingThreadStatus.Exception);
8282
FatalErrorHandler.HandleFatalError("The patching thread threw an exception");
83+
yield break;
8384
}
8485

8586
if (loggingThreadStatus.IsExitedWithError)
8687
{
8788
kspLogger.Exception("The logging thread threw an exception", loggingThreadStatus.Exception);
8889
FatalErrorHandler.HandleFatalError("The logging thread threw an exception");
90+
yield break;
8991
}
9092

9193
if (databaseConfigs == null)

0 commit comments

Comments
 (0)