changed log message from warning to error
This commit is contained in:
parent
86107d60b3
commit
3d1bfc8453
1 changed files with 1 additions and 1 deletions
|
|
@ -80,7 +80,7 @@ class MailTask(Task):
|
||||||
try:
|
try:
|
||||||
s.login(self.username, self.password)
|
s.login(self.username, self.password)
|
||||||
except Exception, e:
|
except Exception, e:
|
||||||
logger.warning(e)
|
logger.error(e)
|
||||||
|
|
||||||
s.sendmail(self.sender, self.rcpt, message.as_string())
|
s.sendmail(self.sender, self.rcpt, message.as_string())
|
||||||
s.quit()
|
s.quit()
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue