do not trim fatal error for "object 0x0" errors

This commit is contained in:
13xforever
2025-11-20 16:34:30 +05:00
parent 305bbcd64b
commit d5f01e5863

View File

@@ -657,7 +657,7 @@ internal static partial class LogParserResult
win32ErrorCodes.Add(hexCode);
}
var trimIdx = fatalError.IndexOf(" Called from");
if (trimIdx is -1)
if (trimIdx is -1 && !fatalError.Contains("Verification failed (object: 0x0)"))
trimIdx = fatalError.IndexOf("(in file");
var errorTxt = fatalError;
if (trimIdx > -1)