Improve error message slightly.


git-svn-id: https://svn.apache.org/repos/asf/felix/trunk@902244 13f79535-47bb-0310-9956-ffa450edef68
diff --git a/main/src/main/java/org/apache/felix/main/AutoProcessor.java b/main/src/main/java/org/apache/felix/main/AutoProcessor.java
index ae77fbb..7a888f7 100644
--- a/main/src/main/java/org/apache/felix/main/AutoProcessor.java
+++ b/main/src/main/java/org/apache/felix/main/AutoProcessor.java
@@ -274,8 +274,10 @@
                 }
                 catch (Exception ex)
                 {
-                    System.err.println("Auto-properties install: "
-                        + ex + ((ex.getCause() != null) ? " - " + ex.getCause() : ""));
+                    System.err.println("Auto-properties install: " + location + " ("
+                        + ex + ((ex.getCause() != null) ? " - " + ex.getCause() : "") + ")");
+if (ex.getCause() != null)
+    ex.printStackTrace();
                 }
             }
         }
@@ -300,8 +302,8 @@
                     }
                     catch (Exception ex)
                     {
-                        System.err.println("Auto-properties start: "
-                            + ex + ((ex.getCause() != null) ? " - " + ex.getCause() : ""));
+                        System.err.println("Auto-properties start: " + location + " ("
+                            + ex + ((ex.getCause() != null) ? " - " + ex.getCause() : "") + ")");
                     }
                 }
             }