Repository: stratos
Updated Branches:
  refs/heads/master 205f60a42 -> b5d65bbc3


Fixed autoscaler RegistryManager.persist() method transaction rollback error log


Project: http://git-wip-us.apache.org/repos/asf/stratos/repo
Commit: http://git-wip-us.apache.org/repos/asf/stratos/commit/b5d65bbc
Tree: http://git-wip-us.apache.org/repos/asf/stratos/tree/b5d65bbc
Diff: http://git-wip-us.apache.org/repos/asf/stratos/diff/b5d65bbc

Branch: refs/heads/master
Commit: b5d65bbc3bc4d8a38a8697ea873ceac52a8df789
Parents: 205f60a
Author: Imesh Gunaratne <[email protected]>
Authored: Sat Jan 24 23:06:11 2015 +0530
Committer: Imesh Gunaratne <[email protected]>
Committed: Sat Jan 24 23:06:11 2015 +0530

----------------------------------------------------------------------
 .../org/apache/stratos/autoscaler/registry/RegistryManager.java    | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/stratos/blob/b5d65bbc/components/org.apache.stratos.autoscaler/src/main/java/org/apache/stratos/autoscaler/registry/RegistryManager.java
----------------------------------------------------------------------
diff --git 
a/components/org.apache.stratos.autoscaler/src/main/java/org/apache/stratos/autoscaler/registry/RegistryManager.java
 
b/components/org.apache.stratos.autoscaler/src/main/java/org/apache/stratos/autoscaler/registry/RegistryManager.java
index 5b9bf76..a9d9fa5 100644
--- 
a/components/org.apache.stratos.autoscaler/src/main/java/org/apache/stratos/autoscaler/registry/RegistryManager.java
+++ 
b/components/org.apache.stratos.autoscaler/src/main/java/org/apache/stratos/autoscaler/registry/RegistryManager.java
@@ -110,7 +110,7 @@ public class RegistryManager {
                 registryService.rollbackTransaction();
             } catch (RegistryException e1) {
                 if (log.isErrorEnabled()) {
-                    log.error("Could not rollback transaction", e);
+                    log.error("Could not rollback transaction", e1);
                 }
             }
             throw new AutoScalerException("Could not persist data in 
registry", e);

Reply via email to