mirror of
https://github.com/comfyanonymous/ComfyUI.git
synced 2025-01-10 18:05:16 +00:00
Supress frontend exception on unhandled message type (#4078)
* Supress frontend exception on unhandled message type * nit
This commit is contained in:
parent
f836e69346
commit
6045ed31f8
@ -136,6 +136,9 @@ class ComfyApi extends EventTarget {
|
||||
case "execution_start":
|
||||
this.dispatchEvent(new CustomEvent("execution_start", { detail: msg.data }));
|
||||
break;
|
||||
case "execution_success":
|
||||
this.dispatchEvent(new CustomEvent("execution_success", { detail: msg.data }));
|
||||
break;
|
||||
case "execution_error":
|
||||
this.dispatchEvent(new CustomEvent("execution_error", { detail: msg.data }));
|
||||
break;
|
||||
|
Loading…
Reference in New Issue
Block a user