decimo3 / TelegramBotForFieldTeamHelper

0 stars 0 forks source link

Connection drop generates unmanaged exception, when the request is being responded to #11

Closed decimo3 closed 8 months ago

decimo3 commented 8 months ago

If the connection to Telegram drops when the request is being responded to, it generates an unmanaged exception causing the program to stop.

The exception does not terminate the program, as the Telegram library manages it, but it paralyzes the program's execution.

decimo3 commented 8 months ago

Error in the Telegram.Bot library, according to issue #1104.

The code flow falls into an infinite repetition when an error occurs in the response request (after having received the request).

https://github.com/TelegramBots/Telegram.Bot/issues/1104