1
mirror of https://github.com/comfyanonymous/ComfyUI.git synced 2025-08-02 23:14:49 +08:00

debug -> warning (#8506)

This commit is contained in:
comfyanonymous
2025-06-12 14:14:59 -07:00
committed by GitHub
parent 4d1c4b9797
commit 40fd39c7cb

View File

@@ -2142,7 +2142,7 @@ def load_custom_node(module_path: str, ignore=set(), module_parent="custom_nodes
logging.info("Automatically register web folder {} for {}".format(web_dir_name, project_name))
except Exception as e:
logging.debug(f"Unable to parse pyproject.toml due to lack dependency pydantic-settings, please run 'pip install -r requirements.txt': {e}")
logging.warning(f"Unable to parse pyproject.toml due to lack dependency pydantic-settings, please run 'pip install -r requirements.txt': {e}")
if hasattr(module, "WEB_DIRECTORY") and getattr(module, "WEB_DIRECTORY") is not None:
web_dir = os.path.abspath(os.path.join(module_dir, getattr(module, "WEB_DIRECTORY")))