Clarify in log that it's processing a resource

This commit is contained in:
Roy Nieterau 2023-07-06 11:13:12 +02:00
parent 95e763dee4
commit a54cddf0f3

View file

@ -540,7 +540,9 @@ class CollectLook(pyblish.api.InstancePlugin):
"Unsupported file node: {}".format(cmds.nodeType(node)))
raise AssertionError("Unsupported file node")
self.log.debug("processing: {} ({})".format(node, cmds.nodeType(node)))
self.log.debug(
"Collecting resource: {} ({})".format(node, cmds.nodeType(node))
)
attributes = get_attributes(FILE_NODES, cmds.nodeType(node), node)
for attribute in attributes: