Uploaded image for project: 'SR for Bitbucket - Development'
  1. SR for Bitbucket - Development
  2. SRBITB-178

When mirroring, capture full response if html is returned rather than json

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Done
    • Priority: Medium
    • Resolution: Fixed
    • Affects Version/s: 4.3.10
    • Fix Version/s: 5.6.5
    • Labels:
      None
    • Sprint:
      Sprint 28 - Ends Apr 19, Sprint 29 - Ends 10 May, Sprint 30 - Ends June 20, Sprint 31 - Ends June 27, Sprint 31 - Ends July 11, DevTools 58, DevTools 59, DevTools 60, DevTools 61
    • Critical Points:
      1

      Description

      When we query remote bb cloud or github, under certain error conditions (for instance misbehaving proxy, or missing proxy auth), calls can return html rather than json.

      Rather than let the default parser fail, we should at least capture that and show a better error message (telling the user to see the logs).

        Attachments

          Activity

            People

            Assignee:
            szaporozhtsev Sergey Zaporozhtsev [X] (Inactive)
            Reporter:
            jechlin Jamie Echlin
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Time Tracking

                Estimated:
                Original Estimate - 4 hours
                4h
                Remaining:
                Remaining Estimate - 4 hours
                4h
                Logged:
                Time Spent - Not Specified
                Not Specified