Uploaded image for project: 'Bookkeeper'
  1. Bookkeeper
  2. BOOKKEEPER-394

CompositeException message is not useful

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • None
    • 4.2.0
    • None
    • None

    Description

      Exceptions logged via slf4j don't actually have their toString method called, so the current behaviour of overriding toString for CompositeException is rarely/never triggered in client code.

      Composing a better `message` field for CompositeException would make it loggable.

      Attachments

        1. 394.diff
          3 kB
          Stu Hood

        Activity

          People

            stuhood Stu Hood
            stuhood Stu Hood
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: