Alon Bar-Lev has uploaded a new change for review.

Change subject: host-deploy: cleanup: Exception is caught when Exception is not 
thrown
......................................................................

host-deploy: cleanup: Exception is caught when Exception is not thrown

Change-Id: I46993b678b8c1a1e12c8fe433d8d081657dba5b4
Signed-off-by: Alon Bar-Lev <[email protected]>
---
M 
backend/manager/modules/utils/src/main/java/org/ovirt/engine/core/utils/ssh/SSHClient.java
1 file changed, 1 insertion(+), 1 deletion(-)


  git pull ssh://gerrit.ovirt.org:29418/ovirt-engine refs/changes/85/13185/1

diff --git 
a/backend/manager/modules/utils/src/main/java/org/ovirt/engine/core/utils/ssh/SSHClient.java
 
b/backend/manager/modules/utils/src/main/java/org/ovirt/engine/core/utils/ssh/SSHClient.java
index 08fe420..d37cad3 100644
--- 
a/backend/manager/modules/utils/src/main/java/org/ovirt/engine/core/utils/ssh/SSHClient.java
+++ 
b/backend/manager/modules/utils/src/main/java/org/ovirt/engine/core/utils/ssh/SSHClient.java
@@ -521,7 +521,7 @@
                 );
             }
         }
-        catch (Exception e) {
+        catch (RuntimeException e) {
             log.debug("Execute failed", e);
             throw e;
         }


--
To view, visit http://gerrit.ovirt.org/13185
To unsubscribe, visit http://gerrit.ovirt.org/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I46993b678b8c1a1e12c8fe433d8d081657dba5b4
Gerrit-PatchSet: 1
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: Alon Bar-Lev <[email protected]>
_______________________________________________
Engine-patches mailing list
[email protected]
http://lists.ovirt.org/mailman/listinfo/engine-patches

Reply via email to