We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8db0a1f commit d7554a1Copy full SHA for d7554a1
src/system-health/health_checker/sysmonitor.py
@@ -477,6 +477,7 @@ def system_service(self):
477
self.update_system_status()
478
479
from queue import Empty
480
+ import traceback
481
# Queue to receive the STATEDB and Systemd state change event
482
while not self.task_stopping_event.is_set():
483
try:
@@ -491,6 +492,7 @@ def system_service(self):
491
492
pass
493
except Exception as e:
494
logger.log_error("system_service"+str(e))
495
+ logger.log_error(traceback.format_exc())
496
497
#cleanup tables "'ALL_SERVICE_STATUS*', 'SYSTEM_READY*'" from statedb
498
self.state_db.delete_all_by_pattern(self.state_db.STATE_DB, "ALL_SERVICE_STATUS|*")
0 commit comments