From 94a8ddbd0f80c199f443297076405f9bbd607367 Mon Sep 17 00:00:00 2001 From: jakubjezek001 Date: Tue, 18 Nov 2025 14:03:57 +0100 Subject: [PATCH] Debug log instance folder path and attributes update state --- client/ayon_core/plugins/publish/collect_hierarchy.py | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/client/ayon_core/plugins/publish/collect_hierarchy.py b/client/ayon_core/plugins/publish/collect_hierarchy.py index 7c2b2fd5d1..1f4900359f 100644 --- a/client/ayon_core/plugins/publish/collect_hierarchy.py +++ b/client/ayon_core/plugins/publish/collect_hierarchy.py @@ -124,8 +124,9 @@ class CollectHierarchy( project_name, shot_instances) for instance in shot_instances: - self.log.debug("Processing instance: `{}` ...".format(instance)) folder_path = instance.data["folderPath"] + self.log.debug( + f"Processing instance: `{folder_path} {instance}` ...") shot_data = { "entity_type": "folder", @@ -167,6 +168,10 @@ class CollectHierarchy( continue shot_data["attributes"][shot_attr] = attr_value + else: + self.log.debug( + "Shot attributes will not be updated." + ) # Split by '/' for AYON where asset is a path name = folder_path.split("/")[-1]