Skip to content

Commit

Permalink
less reporting for dotnet exceptions
Browse files Browse the repository at this point in the history
  • Loading branch information
malytomas committed Aug 12, 2024
1 parent 9105871 commit 4f10004
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions sources/libcore/crashHandler.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -205,6 +205,8 @@ namespace cage
static std::mutex mutex;
std::scoped_lock lock(mutex);
CAGE_LOG(SeverityEnum::Error, "crash-handler", Stringizer() + "crash handler: " + exceptionCodeToString(ex->ExceptionRecord->ExceptionCode));
if (ex->ExceptionRecord->ExceptionCode == EXCEPTION_DOTNET)
return;
CAGE_LOG(SeverityEnum::Info, "crash-handler", Stringizer() + "address: " + ex->ExceptionRecord->ExceptionAddress);
if (ex->ExceptionRecord->ExceptionCode == EXCEPTION_ACCESS_VIOLATION || ex->ExceptionRecord->ExceptionCode == EXCEPTION_IN_PAGE_ERROR)
{
Expand Down

0 comments on commit 4f10004

Please sign in to comment.