fix: graph process should raise the actual error when failing

This commit is contained in:
Nicolò Boschi 2024-06-19 14:38:55 +02:00 • committed by Gabriel Luiz Freitas Almeida
commit e45737aaaa
2 changed files with 2 additions and 1 deletions

View file

@ -224,6 +224,7 @@ def json_vector_store():
@pytest.fixture(name="client", autouse=True)
def client_fixture(session: Session, monkeypatch, request, load_flows_dir):
monkeypatch.setenv("LANGFLOW_LOG_LEVEL", "DEBUG")
# Set the database url to a test database
if "noclient" in request.keywords:
yield