mxseev / logram

Utility that takes logs from anywhere and sends them to Telegram.
MIT License
98 stars 13 forks source link

changing telegram bot does not work #13

Open WladyX opened 2 years ago

WladyX commented 2 years ago

I tried changing the token a new (tried 2 different) bot(s) and got:

Apr 10 10:22:55 rex logram[198306]: Error: An error while parsing JSON: data did not match any variant of untagged enum TelegramResponse
Apr 10 10:22:55 rex logram[198306]: Caused by:
Apr 10 10:22:55 rex logram[198306]:     data did not match any variant of untagged enum TelegramResponse
Apr 10 10:22:55 rex systemd[1]: logram.service: Main process exited, code=exited, status=1/FAILURE
Apr 10 10:22:55 rex systemd[1]: logram.service: Failed with result 'exit-code'.

Sending via curl works for these bots, also tried other applications that can send to bots and they worked fine. Do you have any ideeas? Suggestions? Thanks!