mirror of
https://github.com/khoaliber/khoj.git
synced 2026-03-05 21:29:11 +00:00
Format server code with ruff recommendations
This commit is contained in:
@@ -30,7 +30,7 @@ def v1_telemetry(telemetry_data: List[Dict[str, str]]):
|
||||
try:
|
||||
for row in telemetry_data:
|
||||
posthog.capture(row["server_id"], "api_request", row)
|
||||
except Exception as e:
|
||||
except Exception:
|
||||
raise HTTPException(
|
||||
status_code=500,
|
||||
detail="Could not POST equest to new khoj telemetry server. Contact developer to get this fixed.",
|
||||
|
||||
Reference in New Issue
Block a user