Make "BoundedStatValuesSummary: end event appeared before the start event" non-fatal.

[CL 21500252 by ben woodhouse in ue5-main branch]
This commit is contained in:
ben woodhouse
2022-08-22 21:35:02 -04:00
parent a7b5e6cfcb
commit 9bcde0bc1e
3 changed files with 7 additions and 5 deletions
@@ -133,7 +133,8 @@ namespace PerfSummaries
}
if (startFrame >= endFrame)
{
throw new Exception("BoundedStatValuesSummary: end event appeared before the start event");
Console.WriteLine("Warning: BoundedStatValuesSummary: end event "+ endEvent + " appeared before the start event "+beginEvent);
return;
}
endFrame = Math.Min(endFrame, csvStats.SampleCount - 1);
startFrame = Math.Max(startFrame, 0);