randydev commited on
Commit
0cd346e
·
verified ·
1 Parent(s): 67df2b3

Update main.py

Browse files
Files changed (1) hide show
  1. main.py +1 -1
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
- logger.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):
 
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):