mirror of
https://github.com/ynput/ayon-core.git
synced 2025-12-24 21:04:40 +01:00
Merge pull request #6161 from ynput/chore/better_validation_message
Maya: Extended error message
This commit is contained in:
commit
6c87f3fb54
1 changed files with 5 additions and 1 deletions
|
|
@ -44,4 +44,8 @@ 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"Current workfile `{scene_name}` is not inside the "
|
||||
"current Maya project root directory `{root_dir}`.\n\n"
|
||||
"Please use Workfile app to re-save."
|
||||
)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue