Specifying incorrect type in custom node doens't report error
- Dominant language
- Python
- Stars
- 133k
- Forks
- 15.7k
- Avg merge
- 1d 10h
- Merged PRs (30d)
- 153
Description
Consider
```python
class ConstFloat:
@classmethod
def INPUT_TYPES(s):
return {"required": { "n": ("FlOAT", {"default": 1.0, "min": -512.0, "max": 512.0})}}
RETURN_TYPES = ("FLOAT",)
FUNCTION = "test"
CATEGORY = "Example"
def test(self, n):
return (n,)
NODE_CLASS_MAPPINGS = {
"ConstFloat": ConstFloat
}
```
Right now I can add it to the graph normally:

There is no indication in the console or browser UI that something is wrong:
```text
Set vram state to: NORMAL VRAM
Using sub quadratic optimization for cross attention, if you have memory or speed issues try using: --use-split-cross-attention
No module 'xformers'. Proceeding without it.
Starting server
To see the GUI go to: http://127.0.0.1:8188
```
Contributor guide
Assessment
This issue has not been assessed yet.