mirror of
https://github.com/comfyanonymous/ComfyUI.git
synced 2026-02-11 22:12:33 +08:00
throw earlier to get less confusing error
This commit is contained in:
parent
efea06dda5
commit
b419cd29f9
@ -107,6 +107,8 @@ export class EzOutput extends EzSlot {
|
||||
* @param { EzInput } input
|
||||
*/
|
||||
connectTo(input) {
|
||||
if (!input) throw new Error("Invalid input");
|
||||
|
||||
/**
|
||||
* @type { LG["LLink"] | null }
|
||||
*/
|
||||
|
||||
Loading…
Reference in New Issue
Block a user