Skip to content
Permalink
Browse files
[JENKINS-31162] LOGGER.log() instead of LOGGER.warning()
  • Loading branch information
recena committed Mar 21, 2016
1 parent a585e87 commit 5584229e3e0090a2cc7a5a4d70100219eca6f584
Showing 1 changed file with 2 additions and 1 deletion.
@@ -40,6 +40,7 @@
import javax.annotation.CheckForNull;
import javax.annotation.Nonnull;
import java.io.StringWriter;
import java.util.logging.Level;
import java.util.logging.Logger;

/**
@@ -157,7 +158,7 @@ public String getDescription() {
dsi.invokeScript(Stapler.getCurrentRequest(), Stapler.getCurrentResponse(), s, this, xml);
return sw.toString();
} catch (Exception e) {
LOGGER.warning(e.getMessage());
LOGGER.log(Level.WARNING, null, e);
return "";
}
} else {

0 comments on commit 5584229

Please sign in to comment.