forked from M-Labs/artiq
gui/state: add debug logging
This commit is contained in:
parent
73795ff788
commit
04d4067e7f
|
@ -51,6 +51,7 @@ class StateManager(TaskObject):
|
|||
# To help address this problem, state is restored in the opposite
|
||||
# order as the stateful objects are registered.
|
||||
for name, obj in reversed(list(self.stateful_objects.items())):
|
||||
logger.info("Restoring state of object '%s'", name)
|
||||
state = data.get(name, None)
|
||||
if state is not None:
|
||||
try:
|
||||
|
|
Loading…
Reference in New Issue