Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Implement global exception handling and improve error logging
- Added a terminate handler to log unhandled exceptions and abort the program gracefully. - Introduced a Windows-specific exception handler to log detailed information about unhandled exceptions on Windows systems. - Updated the main function to set the terminate handler and Windows exception filter, enhancing the robustness of the application. These changes improve error handling and logging capabilities, ensuring better diagnostics and stability during runtime.
- Loading branch information