Telegram.Bot icon indicating copy to clipboard operation
Telegram.Bot copied to clipboard

Change error handling behaviour

Open karb0f0s opened this issue 3 years ago • 4 comments

Consider capturing exceptions in Event Handler and forwarding them to Error Handler.

karb0f0s avatar Jan 31 '22 15:01 karb0f0s

a fix is ​​planned, a possible solution to this problem? I don't want the bot to shut down due to an error

dezared avatar Sep 03 '23 10:09 dezared

@dezared you should handle errors of your code yourself

Fedorus avatar Sep 03 '23 11:09 Fedorus

We are prototyping it in a separate branch, but, unfortunately, there's no milestone for this feature.

karb0f0s avatar Sep 03 '23 11:09 karb0f0s

@dezared you should handle errors of your code yourself

This is like saying if you integrate a library in your backend application at a bank, and you send wrong request, instead of getting 400 or 404 HTTP message that you then handle or exception for that matter and continue with your logic instead this will cause your library to not respond anymore until you restart your whole service. It doesn't make sense to me, or I'm missing something.

rivancic avatar Mar 09 '24 18:03 rivancic