Since Telegram requires the bot token to be in the path, it gets logged in the logs, which can cause token leaks when application logs are stored.
It would be nice if the tokens in the paths were replaced with ******** like:
Request method=POST uri=https://api.telegram.org/bot12341234:************/deleteWebhook headers=Content-Length: 26,Content-Type: application/json,Accept: application/json threw an exception on attempt #1. Giving up.
Since Telegram requires the bot token to be in the path, it gets logged in the logs, which can cause token leaks when application logs are stored.
It would be nice if the tokens in the paths were replaced with
********like: