do not show fm.error
as it will flood log output - how to handle this properly?
This commit is contained in:
@ -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:
|
||||||
|
Reference in New Issue
Block a user