优化注释及文案
This commit is contained in:
@@ -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 服务器配置
|
||||
|
||||
Reference in New Issue
Block a user