Fix failure where messages passed to push_trace API were not a list of list of dicts.

This commit is contained in:
Hemang
2025-01-30 16:04:12 +01:00
parent 06b334d29b
commit e9a7d5d7d9
2 changed files with 8 additions and 6 deletions
+1 -3
View File
@@ -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