mirror of
https://github.com/ynput/ayon-core.git
synced 2025-12-24 21:04:40 +01:00
better log message
This commit is contained in:
parent
e311a48ef4
commit
7c46088644
1 changed files with 4 additions and 1 deletions
|
|
@ -43,12 +43,15 @@ class CollectSceneLoadedVersions(pyblish.api.ContextPlugin):
|
|||
io.find({"_id": {"$in": _repr_ids}}, projection={"parent": 1})
|
||||
}
|
||||
|
||||
# QUESTION should we add same representation id when loaded multiple
|
||||
# times?
|
||||
for con in _containers:
|
||||
repre_id = con["representation"]
|
||||
version_id = version_by_repr.get(repre_id)
|
||||
if version_id is None:
|
||||
self.log.warning((
|
||||
"Skipping container, did not find version document. {}"
|
||||
"Skipping container,"
|
||||
" did not find representation document. {}"
|
||||
).format(str(con)))
|
||||
continue
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue