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

More verbose reporting of internal server errors

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Component/s: Server
    • Labels:
      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

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

              Dates

              • Created:
                Updated:
                Resolved: