refacor: clean resolve implementations

This commit is contained in:
Swann Martinez
2019-10-14 13:08:31 +02:00
parent 9b79b441cf
commit e98ff91a5b
9 changed files with 8 additions and 20 deletions

View File

@ -73,8 +73,8 @@ class ApplyTimer(Timer):
if node_ref.state == FETCHED:
try:
operators.client.apply(node)
except Exception:
logger.error("fail to apply {}".format(node_ref.uuid))
except Exception as e:
logger.error("fail to apply {}: {}".format(node_ref.uuid,e))
class DynamicRightSelectTimer(Timer):
@ -130,6 +130,7 @@ class DynamicRightSelectTimer(Timer):
elif not obj.hide_select and obj.uuid in user_ref.data['selected_objects']:
obj.hide_select = True
class Draw(Delayable):
def __init__(self):
self._handler = None