fix: status list

This commit is contained in:
2025-09-17 07:37:26 +02:00
parent decc3c3f5d
commit 45e2a84504

View File

@@ -67,6 +67,8 @@ class AndStatusWithList(DeviceStatus):
# TODO Check if this actually works....
def set_exception(self, exc):
super().set_exception(exc)
# Propagate the exception to all sub-statuses that are not done yet.
with self._lock:
for st in self.all_statuses:
with st._lock: