summaryrefslogtreecommitdiffstats
path: root/modules/mailer
diff options
context:
space:
mode:
authorUnknown <joe2010xtmf@163.com>2014-03-20 02:25:21 -0400
committerUnknown <joe2010xtmf@163.com>2014-03-20 02:25:21 -0400
commitf9fd972cbef25c379ab465ac8a568ef99d44f8da (patch)
tree2c4c47975dc6c07e20cbb243837dced73ae30a25 /modules/mailer
parenta10e126803920f0b6f676acb4f0c5e8eb7b995de (diff)
downloadgitea-f9fd972cbef25c379ab465ac8a568ef99d44f8da.tar.gz
gitea-f9fd972cbef25c379ab465ac8a568ef99d44f8da.zip
Bug fix
Diffstat (limited to 'modules/mailer')
-rw-r--r--modules/mailer/mailer.go4
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))
}
}
}