fix: remove noisy disabled ring current log #132

Merged
perl_d merged 2 commits from fix/remove_disabled_current_log into main 2026-08-11 10:12:10 +02:00
2 changed files with 2 additions and 3 deletions
+1 -1
View File
@@ -359,7 +359,7 @@ class MlBox:
logger.debug(f"Failed to parse prediction: {e}", exc_info=True)
continue
base_key = MLOutputModel.get_class_str(cls=cls)
base_key = MLOutputModel.get_class_str(klass=cls)
if base_key not in out.boxes:
out.boxes[base_key] = MLBoxModel(
cls=cls,
+1 -2
View File
@@ -524,8 +524,7 @@ class BECClientWorker:
def ring_current(self) -> float:
try:
return self._ring_current.get()
except (RPCError, ScanRequestError) as e:
logger.warning(f"Ring current BEC device is not available: {e}")
except (RPCError, ScanRequestError):
return 0