Author: davidb Date: Wed Feb 11 14:02:26 2015 New Revision: 1658964 URL: http://svn.apache.org/r1658964 Log: Applying pull request from metatechbe that improves exception message.
Patch applied on behalf of metatechbe with many thanks. This closes #15 Modified: felix/trunk/framework/src/main/java/org/apache/felix/framework/cache/JarContent.java Modified: felix/trunk/framework/src/main/java/org/apache/felix/framework/cache/JarContent.java URL: http://svn.apache.org/viewvc/felix/trunk/framework/src/main/java/org/apache/felix/framework/cache/JarContent.java?rev=1658964&r1=1658963&r2=1658964&view=diff ============================================================================== --- felix/trunk/framework/src/main/java/org/apache/felix/framework/cache/JarContent.java (original) +++ felix/trunk/framework/src/main/java/org/apache/felix/framework/cache/JarContent.java Wed Feb 11 14:02:26 2015 @@ -160,7 +160,7 @@ public class JarContent implements Conte { m_logger.log( Logger.LOG_ERROR, - "JarContent: Unable to read bytes.", ex); + "JarContent: Unable to read bytes for file " + name + " in ZIP file " + m_file.getAbsolutePath(), ex); return null; } finally @@ -543,4 +543,4 @@ public class JarContent implements Conte } } } -} \ No newline at end of file +}