Skip to content

Commit

Permalink
update image
Browse files Browse the repository at this point in the history
  • Loading branch information
yqs112358 committed Jul 16, 2021
1 parent 2f4d4ba commit 967b5bf
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion CrashLogger_Daemon/Logger.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down
Binary file modified asserts/image-20210716124312591.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 967b5bf

Please sign in to comment.