Fix logger exception in custom_component_update and remove duplicate import statement
This commit is contained in:
parent
64c4bf0c3c
commit
32e38e344e
2 changed files with 1 additions and 1 deletions
|
|
@ -310,4 +310,5 @@ async def custom_component_update(
|
|||
|
||||
return component_node
|
||||
except Exception as exc:
|
||||
logger.exception(exc)
|
||||
raise HTTPException(status_code=400, detail=str(exc)) from exc
|
||||
|
|
|
|||
|
|
@ -11,7 +11,6 @@ from langflow.graph.vertex.base import Vertex
|
|||
from langflow.interface.utils import extract_input_variables_from_prompt
|
||||
from langflow.schema import Record
|
||||
from langflow.schema.schema import INPUT_FIELD_NAME
|
||||
from langflow.schema.schema import INPUT_FIELD_NAME
|
||||
from langflow.services.monitor.utils import log_vertex_build
|
||||
from langflow.utils.schemas import ChatOutputResponse
|
||||
from langflow.utils.util import unescape_string
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue