diff options
author | Unknown <joe2010xtmf@163.com> | 2014-03-20 02:25:21 -0400 |
---|---|---|
committer | Unknown <joe2010xtmf@163.com> | 2014-03-20 02:25:21 -0400 |
commit | f9fd972cbef25c379ab465ac8a568ef99d44f8da (patch) | |
tree | 2c4c47975dc6c07e20cbb243837dced73ae30a25 /modules/mailer | |
parent | a10e126803920f0b6f676acb4f0c5e8eb7b995de (diff) | |
download | gitea-f9fd972cbef25c379ab465ac8a568ef99d44f8da.tar.gz gitea-f9fd972cbef25c379ab465ac8a568ef99d44f8da.zip |
Bug fix
Diffstat (limited to 'modules/mailer')
-rw-r--r-- | modules/mailer/mailer.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/mailer/mailer.go b/modules/mailer/mailer.go index 3823e01fa6..150607f8c4 100644 --- a/modules/mailer/mailer.go +++ b/modules/mailer/mailer.go @@ -57,9 +57,9 @@ func processMailQueue() { info = ", info: " + msg.Info } log.Error(fmt.Sprintf("Async sent email %d succeed, not send emails: %s%s err: %s", num, tos, info, err)) - return + } else { + log.Trace(fmt.Sprintf("Async sent email %d succeed, sent emails: %s%s", num, tos, info)) } - log.Trace(fmt.Sprintf("Async sent email %d succeed, sent emails: %s%s", num, tos, info)) } } } |