Log response code when response body cannot be parsed

XMLWordPrintable

    • Type: Enhancement
    • Resolution: Fixed
    • Priority: P4
    • 1.0
    • Affects Version/s: None
    • Component/s: admin
    • None

      We are seeing quite a lot of bad responses from calls to JBS where the response body cannot be parsed as JSON. When this happens, we get a RuntimeException, which is logged, but we lose the information about the status code. I would like to capture this in a UncheckedRestException instead so that the status code gets logged.

            Assignee:
            Erik Joelsson
            Reporter:
            Erik Joelsson
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: