remove unreliable error log

This commit is contained in:
Akash Mozumdar 2018-11-27 21:29:09 -05:00
parent 7310f9349b
commit 0ddd4a3461

View File

@ -28,10 +28,7 @@ namespace
L"Additional info: " << info.AllocationBase << std::endl;
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;