Update client/ayon_core/hosts/maya/plugins/publish/extract_pointcache.py

Co-authored-by: Jakub Trllo <43494761+iLLiCiTiT@users.noreply.github.com>
This commit is contained in:
Toke Jepsen 2024-04-11 10:47:02 +01:00 committed by GitHub
parent 947b008c55
commit 7dea47f608
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -408,7 +408,7 @@ class ExtractAnimation(ExtractAlembic):
# Collect the out set nodes
out_sets = [node for node in instance if node.endswith("out_SET")]
if len(out_sets) != 1:
raise RuntimeError(
raise KnownPublishError(
"Couldn't find exactly one out_SET: {0}".format(out_sets)
)
out_set = out_sets[0]