mirror of
https://github.com/ynput/ayon-core.git
synced 2025-12-27 14:22:37 +01:00
OP-2765 - more explicit error message
This commit is contained in:
parent
60edd3abe6
commit
3b4f96efa6
1 changed files with 3 additions and 1 deletions
|
|
@ -28,7 +28,9 @@ class PreCollectRender(pyblish.api.ContextPlugin):
|
|||
for inst in list_instances():
|
||||
if inst.get("creator_attributes"):
|
||||
raise ValueError("Instance created in New publisher, "
|
||||
"cannot be published in Pyblish")
|
||||
"cannot be published in Pyblish.\n"
|
||||
"Please publish in New Publisher "
|
||||
"or recreate instances with legacy Creators")
|
||||
|
||||
if inst["family"] not in self.family_remapping.keys():
|
||||
continue
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue