+ when bot fail then send mail
This commit is contained in:
@@ -3,3 +3,4 @@ flask
|
||||
requests
|
||||
requests_toolbelt
|
||||
pymysql
|
||||
sendgrid
|
||||
|
||||
@@ -35,6 +35,11 @@ user = root
|
||||
passwd = root
|
||||
database = wechat
|
||||
|
||||
[sendgrid]
|
||||
api_key = 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
|
||||
from_email = wxbot@wechat.com
|
||||
to_email = xxx@example.com
|
||||
|
||||
[loggers]
|
||||
keys = root,WeChat
|
||||
|
||||
|
||||
Reference in New Issue
Block a user