Uploaded image for project: 'Skara'
  1. Skara
  2. SKARA-1902

Log response code when response body cannot be parsed

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Fixed
    • Icon: P4 P4
    • 1.0
    • None
    • 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.

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

              Created:
              Updated:
              Resolved: