From 0ddd4a34619b366790bceb2db197a5a7c1c933ae Mon Sep 17 00:00:00 2001 From: Akash Mozumdar Date: Tue, 27 Nov 2018 21:29:09 -0500 Subject: [PATCH] remove unreliable error log --- GUI/main.cpp | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/GUI/main.cpp b/GUI/main.cpp index 8b2fed5..e64e71c 100644 --- a/GUI/main.cpp +++ b/GUI/main.cpp @@ -27,11 +27,8 @@ namespace L"Error in module: " << Util::GetModuleFileName((HMODULE)info.AllocationBase).value_or(L"Could not find") << std::endl << L"Additional info: " << info.AllocationBase << std::endl; - if (exception->ExceptionRecord->ExceptionCode == 0xE06D7363) - { + if (exception->ExceptionRecord->ExceptionCode == 0xE06D7363) errorMsg << L"Additional info: " << GetCppExceptionInfo(exception) << std::endl; - if (errorMsg.str().find(L"exception")) errorMsg << ((std::exception*)exception->ExceptionRecord->ExceptionInformation[1])->what(); - } for (int i = 0; i < exception->ExceptionRecord->NumberParameters; ++i) errorMsg << L"Additional info: " << exception->ExceptionRecord->ExceptionInformation[i] << std::endl;