GUACAMOLE-504: Add method for WebSocket status, and reconfigure REST API to use new HTTP method.
This commit is contained in:
1 parent
5239a83acc
commit
0c5b3012ac
2 files changed
+13
-1
No files matched your search
@@ -173,7 +173,7 @@ public class RESTExceptionWrapper implements MethodInterceptor {
|
||||
// Translate GuacamoleException subclasses to HTTP error codes
|
||||
catch (GuacamoleException e) {
|
||||
throw new APIException(
|
||||
Response.Status.fromStatusCode(e.getStatus().getHttpStatusCode()),
|
||||
Response.Status.fromStatusCode(e.getHttpStatusCode()),
|
||||
e
|
||||
);
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user