Remove "first/second chance not available" spam from crash reports
This commit is contained in:
parent
6c67c55ca7
commit
7b75a080b9
1 changed files with 3 additions and 0 deletions
|
|
@ -475,6 +475,9 @@ void I_AddMinidumpCallstack(const FString& minidumpFilename, FString& text, FStr
|
|||
if (SUCCEEDED(result) && descriptionSize > 0)
|
||||
{
|
||||
std::string description(descriptionText, descriptionSize - 1);
|
||||
size_t uselessInfoPos = description.find(" (first/second chance not available)");
|
||||
if (uselessInfoPos != std::string::npos)
|
||||
description.resize(uselessInfoPos);
|
||||
text = description;
|
||||
logText.AppendFormat("\n%s\n", description.c_str());
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue