From 1f52a6b4f5b0c032695254eae0b3786e2e7f035d Mon Sep 17 00:00:00 2001 From: Jared Vititoe Date: Mon, 12 May 2025 16:04:43 -0400 Subject: [PATCH] Full traceback to see where error is --- hwmonDaemon.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/hwmonDaemon.py b/hwmonDaemon.py index 24cf999..428f244 100644 --- a/hwmonDaemon.py +++ b/hwmonDaemon.py @@ -307,7 +307,9 @@ class SystemHealthMonitor: # Create tickets for any detected critical issues self._create_tickets_for_issues(health_report) except Exception as e: - print(f"Unexpected error during health check: {e}") + import traceback + logger.error(f"Unexpected error during health check: {e}") + logger.error(traceback.format_exc()) def perform_health_checks(self) -> Dict[str, Any]: """