Skip to content

Commit

Permalink
Merge pull request #38 from ynput/enhancement/OP-7723_hidden_joints_v…
Browse files Browse the repository at this point in the history
…alidator
  • Loading branch information
mkolar authored Feb 13, 2024
2 parents 971fb76 + d85bb3c commit f43922b
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
from ayon_core.pipeline.publish import (
RepairAction,
ValidateContentsOrder,
PublishValidationError
)


Expand Down Expand Up @@ -38,7 +39,8 @@ def process(self, instance):
invalid = self.get_invalid(instance)

if invalid:
raise ValueError("Visible joints found: {0}".format(invalid))
raise PublishValidationError(
"Visible joints found: {0}".format(invalid))

@classmethod
def repair(cls, instance):
Expand Down

0 comments on commit f43922b

Please sign in to comment.