xf
This commit is contained in:
@@ -87,8 +87,10 @@ def create_app():
|
|||||||
# 使用新函数获取邮件数据
|
# 使用新函数获取邮件数据
|
||||||
email = get_email_by_id(message_id)
|
email = get_email_by_id(message_id)
|
||||||
if not email:
|
if not email:
|
||||||
|
logger.warning(f"No email found for message_id: {message_id}")
|
||||||
return "邮件不存在", 404
|
return "邮件不存在", 404
|
||||||
|
|
||||||
|
logger.debug(f"Retrieved email: {email}")
|
||||||
return render_template('email_detail.html', email=email)
|
return render_template('email_detail.html', email=email)
|
||||||
|
|
||||||
except Exception as e:
|
except Exception as e:
|
||||||
|
|||||||
Reference in New Issue
Block a user