mirror of
https://github.com/jenkinsci/jenkins.git
synced 2026-11-17 14:02:22 +00:00
improved error handling (#772)
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@4553 71c3de6d-444a-0410-be80-ed276b4c234a
This commit is contained in:
1 parent
a1e70fa372
commit
077698448a
1 file changed
+1
-1
@@ -252,7 +252,7 @@ public class MailSender<P extends AbstractProject<P, B>, B extends AbstractBuild
|
||||
for (Entry change : build.getChangeSet()) {
|
||||
User a = change.getAuthor();
|
||||
if (users.add(a)) {
|
||||
String adrs = a.getProperty(Mailer.UserProperty.class).getAddress();
|
||||
String adrs = Util.fixEmpty(a.getProperty(Mailer.UserProperty.class).getAddress());
|
||||
if(debug)
|
||||
listener.getLogger().println(" User "+a.getId()+" -> "+adrs);
|
||||
if (adrs != null)
|
||||
|
||||
Reference in new issue
Block a user