do not show fm.error

as it will flood log output

- how to handle this properly?
This commit is contained in:
2024-06-24 09:43:28 +02:00
parent 4bde91d16b
commit 868abb4ea2

View File

@ -212,8 +212,8 @@ class FrappyConfig(Device):
cfgs = current_cfgs cfgs = current_cfgs
fm = FrappyManager() fm = FrappyManager()
proposed = fm.get_server_state(config.instrument, cfgs) proposed = fm.get_server_state(config.instrument, cfgs)
if fm.error: # if fm.error:
self.log.error('%s', fm.error) # self.log.error('%s', fm.error)
changes = dict(proposed) changes = dict(proposed)
need_change = False need_change = False
for service in SERVICES: for service in SERVICES: