deltacloud-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jan Provaznik (JIRA)" <j...@apache.org>
Subject [jira] [Created] (DTACLOUD-489) More verbose reporting of internal server errors
Date Wed, 20 Feb 2013 10:13:12 GMT
Jan Provaznik created DTACLOUD-489:
--------------------------------------

             Summary: More verbose reporting of internal server errors
                 Key: DTACLOUD-489
                 URL: https://issues.apache.org/jira/browse/DTACLOUD-489
             Project: DeltaCloud
          Issue Type: Bug
          Components: Server
            Reporter: Jan Provaznik


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.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message