mirror of
https://github.com/ynput/ayon-core.git
synced 2026-01-02 00:44:52 +01:00
Improve validation error message
This commit is contained in:
parent
2a748047ed
commit
370bb96408
1 changed files with 4 additions and 1 deletions
|
|
@ -26,7 +26,10 @@ class ValidateXgen(pyblish.api.InstancePlugin):
|
|||
continue
|
||||
remainder_nodes.append(node)
|
||||
|
||||
msg = "Invalid nodes in the objectset:\n{}".format(remainder_nodes)
|
||||
msg = (
|
||||
"Only the collection is used when publishing. Found these invalid"
|
||||
" nodes in the objectset:\n{}".format(remainder_nodes)
|
||||
)
|
||||
assert not remainder_nodes, msg
|
||||
|
||||
# Only one collection per instance.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue