split the cases for better messages

This commit is contained in:
2023-06-03 13:38:15 +02:00
parent c6138b4b73
commit ea8c8dabaf

View File

@ -92,7 +92,11 @@ class BSCache:
self.channels[name] = cfg self.channels[name] = cfg
self.pt.start() self.pt.start()
while self.data is None or name not in self.data: while self.data is None:
print("dropping empty data")
next(self)
while name not in self.data:
print("dropping data that is missing new channel:", name) print("dropping data that is missing new channel:", name)
next(self) next(self)