From 2e8cefcbfd900d1371b441984d6ee7037f1a1a69 Mon Sep 17 00:00:00 2001 From: Anson Biggs Date: Sun, 28 Mar 2021 13:49:22 -0700 Subject: [PATCH] didnt merge correctly first time --- bot.py | 16 ---------------- 1 file changed, 16 deletions(-) diff --git a/bot.py b/bot.py index db4c2d0..7b89a2a 100644 --- a/bot.py +++ b/bot.py @@ -422,25 +422,9 @@ def error(update: Update, context: CallbackContext): f"
{html.escape(tb_string)}
" ) -<<<<<<< HEAD - message = ( - f"An exception was raised while handling an update\n" - f"
update = {html.escape(json.dumps(update.to_dict(), indent=2, ensure_ascii=False))}"
-        "
\n\n" - f"
context.chat_data = {html.escape(str(context.chat_data))}
\n\n" - f"
context.user_data = {html.escape(str(context.user_data))}
\n\n" - f"
{html.escape(tb_string)}
" - ) - - # Finally, send the message - print(message) - # update.message.reply_text(text=message, parse_mode=telegram.ParseMode.HTML) - # update.message.reply_text(text="Please inform the bot admin of this issue.") -======= # Finally, send the message update.message.reply_text(text=message, parse_mode=telegram.ParseMode.HTML) update.message.reply_text(text="Please inform the bot admin of this issue.") ->>>>>>> crypto def main():