Uploaded image for project: 'DeltaCloud'
  1. DeltaCloud
  2. DTACLOUD-489

More verbose reporting of internal server errors

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • Server
    • None

    Description

      If a backend error occurs when processing an index action, then the exception is replaced by general "Internal server error" message without any details. The error is not logged in deltacloud log too.

      The problem is that lib/deltacloud/helpers/deltacloud_helper.rb:filter_all sets 500 error code to all exceptions with missing error code, then report_error method replaces the original exception with new exception instance containing just the error code.

      Attachments

        Activity

          People

            mfojtik Michal Fojtik
            jprovazn Jan Provaznik
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: