2
0
mirror of https://github.com/m-labs/artiq.git synced 2024-12-29 05:03:34 +08:00

gui/state: add debug logging

This commit is contained in:
Sebastien Bourdeauducq 2016-04-06 15:14:33 +08:00
parent 73795ff788
commit 04d4067e7f

View File

@ -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: