split the cases for better messages
This commit is contained in:
@ -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)
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user