felix-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rickh...@apache.org
Subject svn commit: r779978 - /felix/trunk/main/src/main/java/org/apache/felix/main/AutoActivator.java
Date Fri, 29 May 2009 13:58:26 GMT
Author: rickhall
Date: Fri May 29 13:58:26 2009
New Revision: 779978

URL: http://svn.apache.org/viewvc?rev=779978&view=rev
Log:
Print better message if there is an error when processing auto-install/start
bundles. (FELIX-1189)

Modified:
    felix/trunk/main/src/main/java/org/apache/felix/main/AutoActivator.java

Modified: felix/trunk/main/src/main/java/org/apache/felix/main/AutoActivator.java
URL: http://svn.apache.org/viewvc/felix/trunk/main/src/main/java/org/apache/felix/main/AutoActivator.java?rev=779978&r1=779977&r2=779978&view=diff
==============================================================================
--- felix/trunk/main/src/main/java/org/apache/felix/main/AutoActivator.java (original)
+++ felix/trunk/main/src/main/java/org/apache/felix/main/AutoActivator.java Fri May 29 13:58:26
2009
@@ -123,7 +123,8 @@
                 }
                 catch (Exception ex)
                 {
-                    System.err.println("Auto-properties install: " + ex);
+                    System.err.println("Auto-properties install: "
+                        + ex + ((ex.getCause() != null) ? " - " + ex.getCause() : ""));
                 }
             }
         }
@@ -148,7 +149,8 @@
                     }
                     catch (Exception ex)
                     {
-                        System.err.println("Auto-properties start: " + ex);
+                        System.err.println("Auto-properties start: "
+                            + ex + ((ex.getCause() != null) ? " - " + ex.getCause() : ""));
                     }
                 }
             }



Mime
View raw message