"docs/source/en/using-diffusers/controlling_generation.md" did not exist on "22a31760c4bb542779cdd275f83f0ff8c190d22b"
Unverified Commit 6045ed31 authored by Chenlei Hu's avatar Chenlei Hu Committed by GitHub
Browse files

Supress frontend exception on unhandled message type (#4078)

* Supress frontend exception on unhandled message type

* nit
parent f836e693
......@@ -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;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment