Uploaded image for project: 'Guacamole'
  1. Guacamole
  2. GUACAMOLE-499

REST API Error Codes should come from GuacamoleStatus

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Trivial
    • Resolution: Implemented
    • Affects Version/s: None
    • Fix Version/s: 1.0.0
    • Component/s: guacamole
    • Labels:
      None

      Description

      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...

        Attachments

          Activity

            People

            • Assignee:
              vnick Nick Couchman
              Reporter:
              vnick Nick Couchman
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: