mirror of
https://github.com/comfyanonymous/ComfyUI.git
synced 2026-02-14 15:32:35 +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
|
* @param { EzInput } input
|
||||||
*/
|
*/
|
||||||
connectTo(input) {
|
connectTo(input) {
|
||||||
|
if (!input) throw new Error("Invalid input");
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @type { LG["LLink"] | null }
|
* @type { LG["LLink"] | null }
|
||||||
*/
|
*/
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user