gui/state: add debug logging

This commit is contained in:
Sebastien Bourdeauducq 2016-04-06 15:14:33 +08:00
parent 73795ff788
commit 04d4067e7f
1 changed files with 1 additions and 0 deletions

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: