bot.error_handler Module#

The module contains the error handler.

async bot.error_handler.error_handler(update, context)#

Log the error and send a Telegram message to notify the admin.

Parameters:
Return type:

None