SonarQube Java
  1. SonarQube Java
  2. SONARJAVA-255

Rule: When logging errors in try-catch blocks, both the context and the error stack-trace must be logged

    Details

    • Type: New Feature New Feature
    • Status: Closed Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.4
    • Component/s: Rules
    • Labels:
      None
    • Number of attachments :
      0

      Issue Links

        Activity

        Hide
        Dinesh Bolkensteyn added a comment -

        Should be done!

        Show
        Dinesh Bolkensteyn added a comment - Should be done!
        Hide
        Dinesh Bolkensteyn added a comment -

        Went from 5830 issues down to 5654 on the JDK7 codebase.

        Show
        Dinesh Bolkensteyn added a comment - Went from 5830 issues down to 5654 on the JDK7 codebase.
        Hide
        Dinesh Bolkensteyn added a comment -

        As discussed, the notion of 'propagation' must be relaxed to allow conversion of checked into unchecked exceptions.

        Show
        Dinesh Bolkensteyn added a comment - As discussed, the notion of 'propagation' must be relaxed to allow conversion of checked into unchecked exceptions.
        Hide
        Dinesh Bolkensteyn added a comment -

        And that should be fixed too now!

        Let's hope the results will look better.

        Show
        Dinesh Bolkensteyn added a comment - And that should be fixed too now! Let's hope the results will look better.
        Hide
        Freddy Mallet added a comment -

        Manually tested and rule description updated !

        Show
        Freddy Mallet added a comment - Manually tested and rule description updated !

          People

          • Assignee:
            Dinesh Bolkensteyn
            Reporter:
            Freddy Mallet
          • Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: