Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-25849

remove unneccessary stack traces in jenkins log

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Resolved (View Workflow)
    • Priority: Major
    • Resolution: Fixed
    • Component/s: plot-plugin
    • Labels:
      None
    • Environment:
      Jenkins 1.554.2, plot-plugin 1.8
    • Similar Issues:

      Description

      Parsing should accept unset (empty string) number of builds instead of logging a "severe" problem each time all data is plotted.

      int numBuilds;
      try {
      	numBuilds = Integer.parseInt(getURLNumBuilds());
      } catch (NumberFormatException nfe) {
      	LOGGER.log(Level.SEVERE, "Exception converting to integer", nfe);
      	numBuilds = Integer.MAX_VALUE;
      }
      

        Attachments

          Issue Links

            Activity

            Hide
            sschuberth Sebastian Schuberth added a comment -

            I've addressed this as part of this pending PR: https://github.com/jenkinsci/plot-plugin/pull/19

            Show
            sschuberth Sebastian Schuberth added a comment - I've addressed this as part of this pending PR: https://github.com/jenkinsci/plot-plugin/pull/19
            Hide
            scm_issue_link SCM/JIRA link daemon added a comment -

            Code changed in jenkins
            User: Sebastian Schuberth
            Path:
            src/main/java/hudson/plugins/plot/Plot.java
            http://jenkins-ci.org/commit/plot-plugin/e7bab51199f96a929609eb98db2ff959a13636af
            Log:
            [FIXED JENKINS-25849] Do not log if parsing a blank string to int fails

            Show
            scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: Sebastian Schuberth Path: src/main/java/hudson/plugins/plot/Plot.java http://jenkins-ci.org/commit/plot-plugin/e7bab51199f96a929609eb98db2ff959a13636af Log: [FIXED JENKINS-25849] Do not log if parsing a blank string to int fails

              People

              • Assignee:
                nidaley nidaley
                Reporter:
                _men_ Markus
              • Votes:
                1 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: