Spaces:
Running
Running
Update api/endpoints/location.py
Browse files
api/endpoints/location.py
CHANGED
@@ -38,9 +38,9 @@ async def process_coordinates(supabase_user_data, max_concurrency=15):
|
|
38 |
try:
|
39 |
result = future.result()
|
40 |
coords.append(result)
|
41 |
-
|
42 |
except Exception as exc:
|
43 |
-
print(f"
|
44 |
|
45 |
# coords = await asyncio.gather(*[bounded_get_coordinates(cord) for cord in supabase_user_data])
|
46 |
return [coord for coord in coords if coord is not None]
|
|
|
38 |
try:
|
39 |
result = future.result()
|
40 |
coords.append(result)
|
41 |
+
|
42 |
except Exception as exc:
|
43 |
+
print(f"error : {exc}")
|
44 |
|
45 |
# coords = await asyncio.gather(*[bounded_get_coordinates(cord) for cord in supabase_user_data])
|
46 |
return [coord for coord in coords if coord is not None]
|