mirror of https://github.com/m-labs/artiq.git
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
|
# To help address this problem, state is restored in the opposite
|
||||||
# order as the stateful objects are registered.
|
# order as the stateful objects are registered.
|
||||||
for name, obj in reversed(list(self.stateful_objects.items())):
|
for name, obj in reversed(list(self.stateful_objects.items())):
|
||||||
|
logger.info("Restoring state of object '%s'", name)
|
||||||
state = data.get(name, None)
|
state = data.get(name, None)
|
||||||
if state is not None:
|
if state is not None:
|
||||||
try:
|
try:
|
||||||
|
|
Loading…
Reference in New Issue