mirror of
https://gitlab.com/simple-stock-bots/simple-stock-bot.git
synced 2025-06-15 23:06:40 +00:00
didnt merge correctly first time
This commit is contained in:
parent
042e50cc26
commit
2e8cefcbfd
16
bot.py
16
bot.py
@ -422,25 +422,9 @@ def error(update: Update, context: CallbackContext):
|
||||
f"<pre>{html.escape(tb_string)}</pre>"
|
||||
)
|
||||
|
||||
<<<<<<< HEAD
|
||||
message = (
|
||||
f"An exception was raised while handling an update\n"
|
||||
f"<pre>update = {html.escape(json.dumps(update.to_dict(), indent=2, ensure_ascii=False))}"
|
||||
"</pre>\n\n"
|
||||
f"<pre>context.chat_data = {html.escape(str(context.chat_data))}</pre>\n\n"
|
||||
f"<pre>context.user_data = {html.escape(str(context.user_data))}</pre>\n\n"
|
||||
f"<pre>{html.escape(tb_string)}</pre>"
|
||||
)
|
||||
|
||||
# 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():
|
||||
|
Loading…
x
Reference in New Issue
Block a user