Skip to content

Commit

Permalink
修复邮箱报警导入包的bug
Browse files Browse the repository at this point in the history
  • Loading branch information
Boris committed Mar 27, 2021
1 parent 85b7d8a commit d1034d3
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
2 changes: 2 additions & 0 deletions docs/source_code/报警及监控.md
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,8 @@ EMAIL_RECEIVER = "" # 收件人 支持列表,可指定多个

![-w1112](http://markdown-media.oss-cn-beijing.aliyuncs.com/2021/03/27/16167719655644.jpg)

4. 将本邮箱账号添加到白名单中

## 报警间隔及报警级别

框架会对相同的报警进行过滤,防止刷屏,默认的报警时间间隔为1小时,可通过以下配置修改:
Expand Down
2 changes: 1 addition & 1 deletion feapder/VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
1.3.8
1.3.9
2 changes: 1 addition & 1 deletion feapder/utils/email_sender.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
from email.mime.text import MIMEText
from email.utils import formataddr

from utils.log import log
from feapder.utils.log import log


class EmailSender(object):
Expand Down

0 comments on commit d1034d3

Please sign in to comment.