mirror of
https://github.com/comfyanonymous/ComfyUI.git
synced 2026-05-15 03:27:24 +08:00
Rename /custom_node_startup_errors -> /node_startup_errors
The endpoint covers comfy_extras and comfy_api_nodes failures too, not just user-installed custom nodes, so the path should not pretend otherwise. Ref: ComfyUI-Launcher#303 Amp-Thread-ID: https://ampcode.com/threads/T-019e23a1-2acc-7619-bd0e-f783d1368ef3 Co-authored-by: Amp <amp@ampcode.com>
This commit is contained in:
parent
6220400ad5
commit
ba1c039a04
@ -753,8 +753,8 @@ class PromptServer():
|
|||||||
out[node_class] = node_info(node_class)
|
out[node_class] = node_info(node_class)
|
||||||
return web.json_response(out)
|
return web.json_response(out)
|
||||||
|
|
||||||
@routes.get("/custom_node_startup_errors")
|
@routes.get("/node_startup_errors")
|
||||||
async def get_custom_node_startup_errors(request):
|
async def get_node_startup_errors(request):
|
||||||
# Group errors by source ("custom_node" / "comfy_extra" / "api_node")
|
# Group errors by source ("custom_node" / "comfy_extra" / "api_node")
|
||||||
# so the frontend/Manager can render them in distinct sections.
|
# so the frontend/Manager can render them in distinct sections.
|
||||||
# `module_path` is stripped because the absolute on-disk path is
|
# `module_path` is stripped because the absolute on-disk path is
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user