Fix for update
This commit is contained in:
@@ -230,8 +230,9 @@ quit";
|
|||||||
{
|
{
|
||||||
string path = Path.Combine(MyFileSystem.UserDataPath, "Minidump.dmp");
|
string path = Path.Combine(MyFileSystem.UserDataPath, "Minidump.dmp");
|
||||||
Log.Info($"Generating minidump at {path}");
|
Log.Info($"Generating minidump at {path}");
|
||||||
MyMiniDump.Options options = MyMiniDump.Options.WithProcessThreadData | MyMiniDump.Options.WithThreadInfo;
|
Log.Error("Keen broke the minidump, sorry.");
|
||||||
MyMiniDump.Write(path, options, MyMiniDump.ExceptionInfo.Present);
|
//MyMiniDump.Options options = MyMiniDump.Options.WithProcessThreadData | MyMiniDump.Options.WithThreadInfo;
|
||||||
|
//MyMiniDump.Write(path, options, MyMiniDump.ExceptionInfo.Present);
|
||||||
}
|
}
|
||||||
LogManager.Flush();
|
LogManager.Flush();
|
||||||
if (_config.RestartOnCrash)
|
if (_config.RestartOnCrash)
|
||||||
|
@@ -65,6 +65,10 @@
|
|||||||
</Reference>
|
</Reference>
|
||||||
<Reference Include="PresentationCore" />
|
<Reference Include="PresentationCore" />
|
||||||
<Reference Include="PresentationFramework" />
|
<Reference Include="PresentationFramework" />
|
||||||
|
<Reference Include="protobuf-net, Version=2.1.0.0, Culture=neutral, PublicKeyToken=257b51d87d2e4d67, processorArchitecture=MSIL">
|
||||||
|
<SpecificVersion>False</SpecificVersion>
|
||||||
|
<HintPath>..\GameBinaries\protobuf-net.dll</HintPath>
|
||||||
|
</Reference>
|
||||||
<Reference Include="Sandbox.Common">
|
<Reference Include="Sandbox.Common">
|
||||||
<HintPath>..\GameBinaries\Sandbox.Common.dll</HintPath>
|
<HintPath>..\GameBinaries\Sandbox.Common.dll</HintPath>
|
||||||
<Private>False</Private>
|
<Private>False</Private>
|
||||||
|
Reference in New Issue
Block a user