mirror of
https://github.com/ynput/ayon-core.git
synced 2025-12-24 21:04:40 +01:00
Extended error message
This commit is contained in:
parent
a9e683f1e3
commit
277fcd82fb
1 changed files with 4 additions and 1 deletions
|
|
@ -44,4 +44,7 @@ class ValidateSceneSetWorkspace(pyblish.api.ContextPlugin):
|
|||
|
||||
if not is_subdir(scene_name, root_dir):
|
||||
raise PublishValidationError(
|
||||
"Maya workspace is not set correctly.")
|
||||
"Maya workspace is not set correctly.\n\n"
|
||||
f"`{os.path.dirname(scene_name)}` is not in `{root_dir}`.\n\n"
|
||||
"Please use Workfile app to re-save."
|
||||
)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue