diff --git a/CrashLogger_Daemon/Logger.cpp b/CrashLogger_Daemon/Logger.cpp index a573196..c5982da 100644 --- a/CrashLogger_Daemon/Logger.cpp +++ b/CrashLogger_Daemon/Logger.cpp @@ -126,13 +126,14 @@ void LogCrash(PEXCEPTION_POINTERS e, HANDLE hPro, HANDLE hThr, DWORD dProId, DWO printf("\n"); log("[Crashed!]\n"); log("-- Unhandled Exception in -> %ls\n", MapModuleFromAddr(hProcess, e->ExceptionRecord->ExceptionAddress).c_str()); - log("-- Exception Code: %u\n", e->ExceptionRecord->ExceptionCode); + log("-- Exception Code: 0x%X\n", e->ExceptionRecord->ExceptionCode); if(e->ExceptionRecord->ExceptionCode == CRT_EXCEPTION_CODE) log("-- C++ STL Exception detected!\n") CoreDump(e); CloseHandle(hDumpFile); + log("\n"); TrackBack(e); if (fLog != NULL && fLog != INVALID_HANDLE_VALUE) fclose(fLog); diff --git a/asserts/image-20210716124312591.png b/asserts/image-20210716124312591.png index 7a0c2e5..3b58475 100644 Binary files a/asserts/image-20210716124312591.png and b/asserts/image-20210716124312591.png differ