Spaces:
Running
Running
Update main.py
Browse files
main.py
CHANGED
@@ -74,7 +74,7 @@ async def hfv(api_url, timeout=10):
|
|
74 |
stat = response.get("message", "ded")
|
75 |
return await client.send_message(chat_id=1191668125, text=f"**TɪᴋTᴏᴋ Sᴇʀᴠᴇʀ Sᴛᴀᴛᴜs:** `{stat}`")
|
76 |
except requests.exceptions.RequestException as e:
|
77 |
-
|
78 |
return await client.send_message(chat_id=1191668125, text=f"**TɪᴋTᴏᴋ Sᴇʀᴠᴇʀ Sᴛᴀᴛᴜs:** `ded`")
|
79 |
|
80 |
async def periodic_hfv(api_url, interval_range):
|
|
|
74 |
stat = response.get("message", "ded")
|
75 |
return await client.send_message(chat_id=1191668125, text=f"**TɪᴋTᴏᴋ Sᴇʀᴠᴇʀ Sᴛᴀᴛᴜs:** `{stat}`")
|
76 |
except requests.exceptions.RequestException as e:
|
77 |
+
logging.info("Error occurred:", e)
|
78 |
return await client.send_message(chat_id=1191668125, text=f"**TɪᴋTᴏᴋ Sᴇʀᴠᴇʀ Sᴛᴀᴛᴜs:** `ded`")
|
79 |
|
80 |
async def periodic_hfv(api_url, interval_range):
|