fix(validate.py): change logger.exception to logger.error to avoid logging traceback
This commit is contained in:
parent
8e9a745bd4
commit
fa9825849a
1 changed files with 1 additions and 1 deletions
|
|
@ -49,5 +49,5 @@ def post_validate_node(node_id: str, data: dict):
|
|||
return str(node.params)
|
||||
raise Exception(f"Node {node_id} not found")
|
||||
except Exception as e:
|
||||
logger.exception(e)
|
||||
logger.error(e)
|
||||
raise HTTPException(status_code=500, detail=str(e)) from e
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue