qpid-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Lorenz Quack (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (QPID-6617) Exceptions in handling of GET requests are reported as internal server error (500)
Date Thu, 02 Jul 2015 13:06:04 GMT

     [ https://issues.apache.org/jira/browse/QPID-6617?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Lorenz Quack updated QPID-6617:
-------------------------------
    Attachment: 0001-FIX-Set-correct-error-response-in-case-of-exception-.patch

wraps GET handling in a try-catch block and sets the ResponseStatus

> Exceptions in handling of GET requests are reported as internal server error (500)
> ----------------------------------------------------------------------------------
>
>                 Key: QPID-6617
>                 URL: https://issues.apache.org/jira/browse/QPID-6617
>             Project: Qpid
>          Issue Type: Bug
>          Components: Java Broker
>            Reporter: Lorenz Quack
>         Attachments: 0001-FIX-Set-correct-error-response-in-case-of-exception-.patch
>
>
> Currently the GET handling code in RestServlet does not handle exceptions. Subsequently,
uncaught exceptions are reported as internal server errors (error code 500).



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@qpid.apache.org
For additional commands, e-mail: dev-help@qpid.apache.org


Mime
View raw message