You've already forked UnrealEngineUWP
mirror of
https://github.com/izzy2lost/UnrealEngineUWP.git
synced 2026-03-26 18:15:20 -07:00
UE-19274/Crashes not being recorded in crash reporter for 4.9 on Windows 10 (Check common appdata for crashes, if local appdata is empty)
[CL 2637022 by Jaroslaw Surowiec in Main branch]
This commit is contained in:
committed by
Jaroslaw.Surowiec@epicgames.com
parent
4a4e68abb2
commit
56c015cd10
@@ -129,6 +129,13 @@ FString FWindowsErrorReport::FindMostRecentErrorReport()
|
||||
SHGetFolderPath(0, CSIDL_LOCAL_APPDATA, NULL, 0, LocalAppDataPath);
|
||||
PlatformFile.IterateDirectory( *(FString(LocalAppDataPath) / TEXT("Microsoft/Windows/WER/ReportQueue")), ReportFinder);
|
||||
|
||||
if (ReportDirectory.Len() == 0)
|
||||
{
|
||||
TCHAR LocalAppDataPath[MAX_PATH];
|
||||
SHGetFolderPath( 0, CSIDL_COMMON_APPDATA, NULL, 0, LocalAppDataPath );
|
||||
PlatformFile.IterateDirectory( *(FString( LocalAppDataPath ) / TEXT( "Microsoft/Windows/WER/ReportQueue" )), ReportFinder );
|
||||
}
|
||||
|
||||
return ReportDirectory;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user