chore: add debug url to telemetry error
Browse files
app.py
CHANGED
|
@@ -230,7 +230,7 @@ async def api_get_telemetry():
|
|
| 230 |
resp = await client.get(url, headers=headers)
|
| 231 |
if resp.status_code != 200:
|
| 232 |
status = "Offline"
|
| 233 |
-
error_msg = f"HTTP {resp.status_code}"
|
| 234 |
except Exception as e:
|
| 235 |
status = "Offline"
|
| 236 |
error_msg = str(e)
|
|
|
|
| 230 |
resp = await client.get(url, headers=headers)
|
| 231 |
if resp.status_code != 200:
|
| 232 |
status = "Offline"
|
| 233 |
+
error_msg = f"HTTP {resp.status_code} at {url}"
|
| 234 |
except Exception as e:
|
| 235 |
status = "Offline"
|
| 236 |
error_msg = str(e)
|