geronimo-scm mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ga...@apache.org
Subject svn commit: r1362756 - /geronimo/server/branches/3.0/plugins/aries/geronimo-aries/src/main/java/org/apache/geronimo/aries/ApplicationUpdateHelper.java
Date Wed, 18 Jul 2012 04:40:45 GMT
Author: gawor
Date: Wed Jul 18 04:40:44 2012
New Revision: 1362756

URL: http://svn.apache.org/viewvc?rev=1362756&view=rev
Log:
log full exception if eba update fails

Modified:
    geronimo/server/branches/3.0/plugins/aries/geronimo-aries/src/main/java/org/apache/geronimo/aries/ApplicationUpdateHelper.java

Modified: geronimo/server/branches/3.0/plugins/aries/geronimo-aries/src/main/java/org/apache/geronimo/aries/ApplicationUpdateHelper.java
URL: http://svn.apache.org/viewvc/geronimo/server/branches/3.0/plugins/aries/geronimo-aries/src/main/java/org/apache/geronimo/aries/ApplicationUpdateHelper.java?rev=1362756&r1=1362755&r2=1362756&view=diff
==============================================================================
--- geronimo/server/branches/3.0/plugins/aries/geronimo-aries/src/main/java/org/apache/geronimo/aries/ApplicationUpdateHelper.java
(original)
+++ geronimo/server/branches/3.0/plugins/aries/geronimo-aries/src/main/java/org/apache/geronimo/aries/ApplicationUpdateHelper.java
Wed Jul 18 04:40:44 2012
@@ -115,7 +115,7 @@ public class ApplicationUpdateHelper {
                 try {
                     updateEBA(targetBundle, bundleFile);
                 } catch (Exception e) {
-                    LOG.warn("Error updating application bundle with the new contents.",
e.getMessage());
+                    LOG.warn("Error updating application bundle with the new contents.",
e);
                 }
                 
                 URL url = new URL(bundleLocation);
@@ -153,7 +153,7 @@ public class ApplicationUpdateHelper {
                     updateEBA(targetBundle, bundleFile);
                 } catch (Exception e) {
                     LOG.warn("Error updating application archive with the new contents. "
+
-                             "Changes made might be gone next time the application or server
is restarted.", e.getMessage());
+                             "Changes made might be gone next time the application or server
is restarted.", e);
                 }
             }
             
@@ -222,7 +222,7 @@ public class ApplicationUpdateHelper {
                 }
             } catch (Exception e) {
                 LOG.warn("Error updating application archive with the new contents. " +
-                         "Changes made might be gone next time the application or server
is restarted.", e.getMessage());
+                         "Changes made might be gone next time the application or server
is restarted.", e);
             }
         }
         



Mime
View raw message