mirror of
https://github.com/ynput/ayon-core.git
synced 2025-12-24 12:54:40 +01:00
Fail clearly if the path can't be resolved instead of setting path to "None"
This commit is contained in:
parent
73dfff9191
commit
70bf746c7a
1 changed files with 2 additions and 0 deletions
|
|
@ -181,6 +181,8 @@ def get_instance_uri_path(
|
|||
anatomy=context.data["anatomy"],
|
||||
**names
|
||||
)
|
||||
if not path:
|
||||
raise RuntimeError(f"Unable to resolve publish path for: {names}")
|
||||
|
||||
# Ensure `None` for now is also a string
|
||||
path = str(path)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue