♻️ improve error message

This commit is contained in:
Ondrej Samohel 2023-10-13 15:55:07 +02:00
parent 5914f2e23c
commit 8f5a5341e0
No known key found for this signature in database
GPG key ID: 02376E18990A97C6

View file

@ -114,7 +114,9 @@ class CreateMultishotLayout(plugin.MayaCreator):
# want to create a new shot folders by publishing the layouts
# and shot defined in the sequencer. Sort of editorial publish
# in side of Maya.
raise CreatorError("No shots found under the specified folder.")
raise CreatorError((
"No shots found under the specified "
f"folder: {pre_create_data['shotParent']}."))
# Get layout creator
layout_creator_id = "io.openpype.creators.maya.layout"