From 57aee378132ee25d5b7327f79f9fb27e767837d1 Mon Sep 17 00:00:00 2001 From: liuwei Date: Thu, 29 May 2025 16:26:49 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B7=BB=E5=8A=A0=E8=81=8A=E5=A4=A9=E5=8A=9F?= =?UTF-8?q?=E8=83=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- admin/dashboard/blueprints/contacts.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/admin/dashboard/blueprints/contacts.py b/admin/dashboard/blueprints/contacts.py index 3eb587a..c05e243 100644 --- a/admin/dashboard/blueprints/contacts.py +++ b/admin/dashboard/blueprints/contacts.py @@ -313,5 +313,5 @@ def api_send_message(): return jsonify({'success': False, 'message': '不支持的消息类型'}) except Exception as e: - logger.error(f"发送消息失败: {e}") + logger.exception(f"发送消息失败: {e}") return jsonify({'success': False, 'message': str(e)}), 500