Parcourir la source

Fixed error message on json script parsing failure to print correctly

Signed-off-by: AMZN-stankowi <[email protected]>
AMZN-stankowi il y a 3 ans
Parent
commit
6ab2b06cd1
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  1. 1 1
      Scripts/extras/pull_and_build_from_git.py

+ 1 - 1
Scripts/extras/pull_and_build_from_git.py

@@ -735,7 +735,7 @@ class BuildInfo(object):
                     os.makedirs(os.path.dirname(resolved_target_path), exist_ok=True)
                     os.makedirs(os.path.dirname(resolved_target_path), exist_ok=True)
                     shutil.copy2(resolved_src_path, resolved_target_path)
                     shutil.copy2(resolved_src_path, resolved_target_path)
                 else:
                 else:
-                    raise BuildError(f"Error executing custom install command {custom_install_cmd}, found invalid source path {resolved_target_path}")
+                    raise BuildError(f"Error executing custom install json {custom_install_json_file}, found invalid source path {resolved_src_path}")
 
 
 
 
     def check_build_keys(self, keys_to_check):
     def check_build_keys(self, keys_to_check):