Uploaded image for project: 'ActiveMQ Classic'
  1. ActiveMQ Classic
  2. AMQ-6765

HttpClientTransport loses exception information

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 5.14.3
    • 5.14.6, 5.15.1
    • None
    • None

    Description

      In the exception handling in the doStart() method of the HttpClientTransport vital debugging information is lost.

      On line 282, for any encountered exception an IOException is thrown with the following message: '"Failed to perform GET on: " + remoteUrl + " as response was: " + e.getMessage()'. Where e.getMessage() usually returns null.

      It would be nicer if at least he http status code was logged, and maybe the stacktrace when trace is enabled.

      Attachments

        Activity

          People

            Unassigned Unassigned
            harmen.renkema Harmen Renkema
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: