changed log message from warning to error

This commit is contained in:
Johannes Findeisen 2013-11-22 23:18:53 +01:00
commit 3d1bfc8453

View file

@ -80,7 +80,7 @@ class MailTask(Task):
try:
s.login(self.username, self.password)
except Exception, e:
logger.warning(e)
logger.error(e)
s.sendmail(self.sender, self.rcpt, message.as_string())
s.quit()