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:
kohsuke committed 2007-08-31 00:10:02 +00:00
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)