You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@felix.apache.org by ri...@apache.org on 2010/01/22 21:03:25 UTC
svn commit: r902244 -
/felix/trunk/main/src/main/java/org/apache/felix/main/AutoProcessor.java
Author: rickhall
Date: Fri Jan 22 20:03:24 2010
New Revision: 902244
URL: http://svn.apache.org/viewvc?rev=902244&view=rev
Log:
Improve error message slightly.
Modified:
felix/trunk/main/src/main/java/org/apache/felix/main/AutoProcessor.java
Modified: felix/trunk/main/src/main/java/org/apache/felix/main/AutoProcessor.java
URL: http://svn.apache.org/viewvc/felix/trunk/main/src/main/java/org/apache/felix/main/AutoProcessor.java?rev=902244&r1=902243&r2=902244&view=diff
==============================================================================
--- felix/trunk/main/src/main/java/org/apache/felix/main/AutoProcessor.java (original)
+++ felix/trunk/main/src/main/java/org/apache/felix/main/AutoProcessor.java Fri Jan 22 20:03:24 2010
@@ -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() : "") + ")");
}
}
}