fix(validate.py): raise an exception with a message when node is not found
feat(GenericNode): add node validation with outline color feedback feat(tailwind.config.js): add styles for outline colors and animations
This commit is contained in:
parent
09320824a9
commit
f122151b12
3 changed files with 100 additions and 33 deletions
|
|
@ -47,7 +47,7 @@ def post_validate_node(node_id: str, data: dict):
|
|||
if node is not None:
|
||||
_ = node.build()
|
||||
return node.params
|
||||
raise
|
||||
raise Exception(f"Node {node_id} not found")
|
||||
except Exception as e:
|
||||
logger.exception(e)
|
||||
raise HTTPException(status_code=500, detail=str(e)) from e
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue