CrashFrontend - Ensure are also set if there is a call to NewReportEnsure

[CL 2539291 by Jaroslaw Surowiec in Main branch]
This commit is contained in:
Jaroslaw Surowiec
2015-05-06 10:55:25 -04:00
committed by Jaroslaw.Surowiec@epicgames.com
parent b48ba0ff6a
commit 8e9a5bcdee

View File

@@ -614,11 +614,15 @@ namespace Tools.CrashReporter.CrashReportWebSite.Models
NewCrash.CrashType = 1;
if (NewCrash.RawCallStack != null)
{
if (NewCrash.RawCallStack.Contains("FDebug::AssertFailed()"))
if (NewCrash.RawCallStack.Contains( "FDebug::AssertFailed" ))
{
NewCrash.CrashType = 2;
}
else if (NewCrash.RawCallStack.Contains("FDebug::EnsureFailed()"))
else if (NewCrash.RawCallStack.Contains( "FDebug::EnsureFailed" ))
{
NewCrash.CrashType = 3;
}
else if (NewCrash.RawCallStack.Contains( "NewReportEnsure" ))
{
NewCrash.CrashType = 3;
}