log error when INGEST_FLOW_ID is not configured
This commit is contained in:
parent
20a5648b3d
commit
9f7c506cce
1 changed files with 1 additions and 0 deletions
|
|
@ -65,6 +65,7 @@ class LangflowFileService:
|
|||
The flow must expose a File component path in input schema or accept files parameter.
|
||||
"""
|
||||
if not self.flow_id_ingest:
|
||||
logger.error("[LF] LANGFLOW_INGEST_FLOW_ID is not configured")
|
||||
raise ValueError("LANGFLOW_INGEST_FLOW_ID is not configured")
|
||||
|
||||
payload: Dict[str, Any] = {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue