#' default error handler
#' Catches all errors to ensure a live bot does not crash for all users when issues occur
#' @param bot telegram.bot bot object
#' @param error The Error
#' @return corresponding warning
error_callback <- function(bot, error) {
warning(simpleWarning(conditionMessage(error), call = "Updates polling"))
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.