mirror of
https://github.com/dortania/OpenCore-Legacy-Patcher.git
synced 2026-06-19 13:50:00 +10:00
Support crash logging in CLI code
This commit is contained in:
@@ -213,6 +213,7 @@ class InitializeLoggingSupport:
|
||||
self._display_debug_properties()
|
||||
|
||||
if self.constants.cli_mode is True:
|
||||
threading.Thread(target=analytics_handler.Analytics(self.constants).send_crash_report, args=(self.log_filepath,)).start()
|
||||
return
|
||||
|
||||
error_msg = f"OpenCore Legacy Patcher encountered the following internal error:\n\n"
|
||||
|
||||
Reference in New Issue
Block a user