From fc451a78768015455970e03121cbeac1071f37f0 Mon Sep 17 00:00:00 2001 From: Dilshat Aliev Date: Wed, 31 Jan 2018 11:47:11 +0600 Subject: [PATCH] #2223 --- .../core/executor/rest/ui/RestServiceImpl.java | 7 ------- .../webapp/subutai-app/console/partials/view.html | 12 ------------ 2 files changed, 19 deletions(-) diff --git a/management/server/core/command-executor/command-executor-rest-ui/src/main/java/io/subutai/core/executor/rest/ui/RestServiceImpl.java b/management/server/core/command-executor/command-executor-rest-ui/src/main/java/io/subutai/core/executor/rest/ui/RestServiceImpl.java index 8d88bab1242..f276bd495bb 100644 --- a/management/server/core/command-executor/command-executor-rest-ui/src/main/java/io/subutai/core/executor/rest/ui/RestServiceImpl.java +++ b/management/server/core/command-executor/command-executor-rest-ui/src/main/java/io/subutai/core/executor/rest/ui/RestServiceImpl.java @@ -102,13 +102,6 @@ public Response executeCommand( final String hostId, final String command, Strin { throw new AccessControlException( "Access denied" ); } - catch ( Exception e ) - { - LOG.error( "Error executing command", e ); - - return Response.status( Response.Status.INTERNAL_SERVER_ERROR ) - .entity( JsonUtil.toJson( e.getMessage() ) ).build(); - } } // this command is intended to run on RH else diff --git a/management/server/webui/src/main/webapp/subutai-app/console/partials/view.html b/management/server/webui/src/main/webapp/subutai-app/console/partials/view.html index d6a8df7f807..e775c27ed5c 100755 --- a/management/server/webui/src/main/webapp/subutai-app/console/partials/view.html +++ b/management/server/webui/src/main/webapp/subutai-app/console/partials/view.html @@ -75,18 +75,6 @@
-