get_counters_iter: CounterContainer.counters can fail silently
Feedback from @claustre in the chat.
Some controllers feed dynamically .counters
, as result get_counters_iter
protecting the call to .counters
.
The problem of @claustre was that a hardware was offline, so what .counters
was raising an error.
Could we instead fix such controllers to return []
when the hardware is offline?
So what we could just remove the try-except from get_counters_iter
.
A offline controller should have a normal error proof behavior.
Edited by Valentin Valls