You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@guacamole.apache.org by "Nick Couchman (JIRA)" <ji...@apache.org> on 2018/02/04 04:10:01 UTC

[jira] [Created] (GUACAMOLE-499) REST API Error Codes should come from GuacamoleStatus

Nick Couchman created GUACAMOLE-499:
---------------------------------------

             Summary: REST API Error Codes should come from GuacamoleStatus
                 Key: GUACAMOLE-499
                 URL: https://issues.apache.org/jira/browse/GUACAMOLE-499
             Project: Guacamole
          Issue Type: Improvement
          Components: guacamole-client
            Reporter: Nick Couchman
            Assignee: Nick Couchman


Currently the RESTExceptionWrapper catches specific GuacamoleException-types and throws specific Response.Status types for those exceptions.  Since the HTTP response code is embedded in the Exceptions via the GuacamoleStatus object in those exceptions, and that status is used in the tunnel, already, it seems to make sense to use this code in the REST API, as well.

Unless there's some specific reason we're not?

PR coming soon...



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)