add the crashed thread to windows crashlogs

This commit is contained in:
dankmeme01 2024-04-14 00:12:04 +02:00
parent 798cacc1a8
commit f84e8660cb

View file

@ -282,6 +282,10 @@ static std::string getInfo(LPEXCEPTION_POINTERS info, Mod* faultyMod) {
<< "\n"
<< "Number Parameters: " << info->ExceptionRecord->NumberParameters << "\n";
}
// show the thread that crashed
stream << "Crashed thread: " << utils::thread::getName() << "\n";
return stream.str();
}