Update README.md, hide Console when it fails to init

This commit is contained in:
sinaioutlander
2020-09-12 02:20:27 +10:00
parent de663f34b2
commit 1d07046a74
3 changed files with 8 additions and 3 deletions

View File

@ -58,7 +58,9 @@ MelonLogger.Log(""hello world"");";
}
catch (Exception e)
{
MelonLogger.Log($"Error setting up console!\r\nMessage: {e.Message}\r\nStack: {e.StackTrace}");
MelonLogger.Log($"Error setting up console!\r\nMessage: {e.Message}");
MainMenu.SetCurrentPage(0);
MainMenu.Pages.Remove(this);
}
}