优化注释及文案

This commit is contained in:
2024-07-16 12:52:29 +08:00
parent 7cbf0c0756
commit 6d3acd80ea
4 changed files with 16 additions and 19 deletions

View File

@@ -8,10 +8,11 @@ from auto_email import ERROR_EMAIL_CONFIG
def send_error_email(program_name, error_name, error_detail):
"""
@program_name: 运行的程序名
@error_name: 错误
@error_detail: 错误的详细信息
@description: 程序出错时发送邮件提醒
程序出错时发送邮件提醒
:param program_name: 运行的程序
:param error_name: 错误名
:param error_detail: 错误的详细信息
:return:
"""
# SMTP 服务器配置