fix: clarify crash message

This commit is contained in:
goaaats 2021-11-01 12:11:35 +01:00
parent 0887e7e2cf
commit 7a573eaf62
No known key found for this signature in database
GPG key ID: F18F057873895461

View file

@ -208,6 +208,7 @@ LONG exception_handler(EXCEPTION_POINTERS* ex)
log << std::format(L"Unhandled native exception occurred at {}", to_address_string(ex->ContextRecord->Rip, false)) << std::endl;
log << std::format(L"Code: {:X}", ex->ExceptionRecord->ExceptionCode) << std::endl;
log << std::format(L"Dump at: {}", dmp_path) << std::endl;
log << L"Time: " << std::chrono::zoned_time{ std::chrono::current_zone(), std::chrono::system_clock::now() } << std::endl;
SymRefreshModuleList(GetCurrentProcess());
@ -225,10 +226,8 @@ LONG exception_handler(EXCEPTION_POINTERS* ex)
CloseHandle(file);
auto msg = L"An error within the game has occurred and Dalamud has caught it.\n\n"
L"This could be caused by a faulty plugin.\n"
L"Please report this issue on our Discord - more information has been recorded separately.\n\n"
L"The crash dump file is located at:\n"
L"{0}\n\n"
L"This may be caused by a faulty plugin, a broken TexTools modification, any other third-party tool or simply a bug in the game.\n"
L"You can report this issue on our Discord - more information has been recorded separately.\n\n"
L"The log file is located at:\n"
L"{1}\n\n"
L"Press OK to exit the application.";