PaulSonOfLars / gotgbot

Autogenerated Go wrapper for the telegram API. Inspired by the python-telegram-bot library.
MIT License
509 stars 114 forks source link

Replace error loggers in updater+dispatcher with error funcs, for improved flexibility #65

Closed PaulSonOfLars closed 1 year ago

PaulSonOfLars commented 1 year ago

What

Improve error handling flexibility in the Updater and Dispatcher by providing error funcs instead of simple logs.

This should allow users to panic and close their program if necessary.

Impact

ALiwoto commented 1 year ago

I'm seriously waiting for these changes to be merged :) Really good job!