[GH-ISSUE #660] Display exceptions on the front-end #301

Closed
opened 2026-10-27 21:15:54 +00:00 by bsakaguchi · 2 comments
Owner

Originally created by @nono-Sang on GitHub (May 10, 2024).
Original GitHub issue: https://github.com/Comfy-Org/ComfyUI-Manager/issues/660

Hi, I have a need now. My custom node can only support Linux systems. I will make a check in install.py. If the user's system is windows, I will throw an OSError exception, but I found that it cannot be captured and displayed by the front-end. Is there any way to do it?

Originally created by @nono-Sang on GitHub (May 10, 2024). Original GitHub issue: https://github.com/Comfy-Org/ComfyUI-Manager/issues/660 Hi, I have a need now. My custom node can only support Linux systems. I will make a check in `install.py`. If the user's system is windows, I will throw an `OSError` exception, but I found that it cannot be captured and displayed by the front-end. Is there any way to do it?
Author
Owner

@ltdrdata commented on GitHub (May 10, 2024):

It is not simple to reflect the execution result of install.py to the front-end. Especially in the case of Windows, install.py is executed before the server is up and running after restarting.
This requires the introduction of a system that verifies before installation through a separate spec, rather than install.py.

<!-- gh-comment-id:2103955446 --> @ltdrdata commented on GitHub (May 10, 2024): It is not simple to reflect the execution result of `install.py` to the front-end. Especially in the case of Windows, `install.py` is executed before the server is up and running after restarting. This requires the introduction of a system that verifies before installation through a separate spec, rather than `install.py`.
Author
Owner

@nono-Sang commented on GitHub (May 10, 2024):

thanks

<!-- gh-comment-id:2104001354 --> @nono-Sang commented on GitHub (May 10, 2024): thanks
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
Comfy-Org/ComfyUI-Manager#301
No description provided.