Module contents
Modules used during debug
spotted.debug package
Submodules
spotted.debug.log_manager module
Handles the logging of events
- async spotted.debug.log_manager.error_handler(update, context)[source]
 Logs the error and notifies the admins.
- Parameters:
 update (
Update) – update eventcontext (
CallbackContext) – context passed by the handler
- async spotted.debug.log_manager.log_message(update, _)[source]
 Log the message that caused the update
- Parameters:
 update (
Update) – update eventcontext – context passed by the handler
- async spotted.debug.log_manager.notify_error_admin(context, traceback_str)[source]
 Sends a telegram message to notify the admins.
- Parameters:
 context (
CallbackContext) – context passed by the handlertraceback_str (
str) – the traceback text