Uploaded image for project: 'Shindig'
  1. Shindig
  2. SHINDIG-1749

Common Container should log detailed error messages when a gadget fails to navigate or preload

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 2.5.0
    • 2.5.0-beta2
    • Javascript
    • None

    Description

      If in the process of preloading or navigating a gadget something fails, the common container will log warnings, "Failed to preload gadget <gadget url>." and "Failed to navigate for gadget <gadget url>.", respectively. However, it only logs these errors upon the existence of the "error" object in the response. It does not log any of the information contained within the "error" object.

      The proposed improvement would be to log the detailed information in the "error" object. This includes both the HTTP status code and a detailed message. This information is more usable when trying to determine the root cause of the error.

      Attachments

        1. PreloadAndNavigateErrorLog.patch
          2 kB
          Stanton Sievers

        Activity

          People

            ssievers Stanton Sievers
            ssievers Stanton Sievers
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: