mirror of
https://github.com/invariantlabs-ai/invariant-gateway.git
synced 2026-08-16 22:10:20 +02:00
Fix failure where messages passed to push_trace API were not a list of list of dicts.
This commit is contained in:
@@ -33,6 +33,4 @@ def push_trace(
|
||||
)
|
||||
return {"trace_id": push_trace_response.id[0]}
|
||||
except Exception as e:
|
||||
raise HTTPException(
|
||||
status_code=500, detail="Failed to push traces to the dataset"
|
||||
) from e
|
||||
raise HTTPException(status_code=500, detail=str(e)) from e
|
||||
|
||||
Reference in New Issue
Block a user