mirror of
https://github.com/ynput/ayon-core.git
synced 2025-12-24 21:04:40 +01:00
Replaced the warning for exceeding the project name length with an exception.
This commit is contained in:
parent
f91cefa2fd
commit
b1fa394396
1 changed files with 3 additions and 3 deletions
|
|
@ -79,9 +79,9 @@ class UnrealPrelaunchHook(PreLaunchHook):
|
|||
unreal_project_name = os.path.splitext(unreal_project_filename)[0]
|
||||
# Unreal is sensitive about project names longer then 20 chars
|
||||
if len(unreal_project_name) > 20:
|
||||
self.log.warning((
|
||||
f"Project name exceed 20 characters ({unreal_project_name})!"
|
||||
))
|
||||
raise ApplicationLaunchFailed(
|
||||
f"Project name exceeds 20 characters ({unreal_project_name})!"
|
||||
)
|
||||
|
||||
# Unreal doesn't accept non alphabet characters at the start
|
||||
# of the project name. This is because project name is then used
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue