raise when flow_id is not found

This commit is contained in:
Lucas Oliveira 2025-09-26 12:03:53 -03:00
parent 07921d69c5
commit 5aca76584d

View file

@ -53,7 +53,7 @@ class FlowsService:
str: The path to the flow file, or None if not found
"""
if not flow_id:
return None
raise ValueError("flow_id is required")
# Check cache first
if flow_id in self._flow_file_cache: