Uploaded image for project: 'Camel'
  1. Camel
  2. CAMEL-15095

add a line break before stack trace detail

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • None
    • 3.4.0
    • camel-core
    • None
    • Unknown

    Description

      add a line break before stack trace detail to help print a more readable and friendly log.

      the example below shows the changes:

      before:

       

      Failed delivery for (MessageId: xxx). Exhausted after delivery attempt: 1 caught: com.example.exception.SomeException: xxx
      
      Message History
      ---------------
      ...
      
      Stacktrace
      --------------- com.example.exception.SomeException: xxx
          at ...
          at ...
      

      after

      Failed delivery for (MessageId: xxx). Exhausted after delivery attempt: 1 caught: com.example.exception.SomeException: xxx
      
      Message History
      ---------------
      ...
      
      Stacktrace
      ---------------
      com.example.exception.SomeException: xxx
          at ...
          at ...

       

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              mastermay mastermay
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: