Mon Jun 10 04:44:12 PM CEST 2024
This commit is contained in:
parent
7af0a4e7fd
commit
3dc765ce26
|
@ -22,7 +22,10 @@ let
|
|||
bot = telegram.Bot(token="381718873:AAElFmI2BDjumCehhWicuksE0vutrPSkoGA")
|
||||
chat_id = 125754925
|
||||
hostname = socket.gethostname()
|
||||
await bot.send_message(chat_id, f"{hostname} encountered an error in the service: {sys.argv[1]}")
|
||||
await bot.send_message(
|
||||
chat_id,
|
||||
f"{hostname} encountered an error in the service: {sys.argv[1]}"
|
||||
)
|
||||
|
||||
await bot.send_message(chat_id, text)
|
||||
|
||||
|
|
Loading…
Reference in New Issue