diff --git a/plugins/system/errorhandler.py b/plugins/system/errorhandler.py index b1898396..f9dd7c1c 100644 --- a/plugins/system/errorhandler.py +++ b/plugins/system/errorhandler.py @@ -76,9 +76,8 @@ async def error_handler(update: object, context: CallbackContext) -> None: Log.info(f"尝试通知用户 {effective_user.full_name}[{effective_user.id}] " f"在 {chat.full_name}[{chat.id}]" f"的 update_id[{update.update_id}] 错误信息") - text = f"派蒙这边发生了点问题无法处理!\n" \ - f"如果当前有对话请发送 /cancel 退出对话。\n" \ - f"错误信息为 {html.escape(str(context.error))}" + text = f"出错了呜呜呜 ~ 派蒙这边发生了点问题无法处理!\n" \ + f"如果当前有对话请发送 /cancel 退出对话。\n" await context.bot.send_message(message.chat_id, text, reply_markup=ReplyKeyboardRemove(), parse_mode=ParseMode.HTML) except BadRequest as exc: