commit | 73e8624cdfb604615a64b6f186fc7463f1342de9 | [log] [tgz] |
---|---|---|
author | A. J. David Bosschaert <davidb@apache.org> | Wed Feb 11 14:02:26 2015 +0000 |
committer | A. J. David Bosschaert <davidb@apache.org> | Wed Feb 11 14:02:26 2015 +0000 |
tree | affe215754bb8dbc18560fe314f85a5ce5d85804 | |
parent | 780582a2b1e6c90d64b2194d5f0ddc81c4531b9a [diff] |
Applying pull request from metatechbe that improves exception message. Patch applied on behalf of metatechbe with many thanks. This closes #15 git-svn-id: https://svn.apache.org/repos/asf/felix/trunk@1658964 13f79535-47bb-0310-9956-ffa450edef68
diff --git a/framework/src/main/java/org/apache/felix/framework/cache/JarContent.java b/framework/src/main/java/org/apache/felix/framework/cache/JarContent.java index 409f12e..30bae3e 100644 --- a/framework/src/main/java/org/apache/felix/framework/cache/JarContent.java +++ b/framework/src/main/java/org/apache/felix/framework/cache/JarContent.java
@@ -160,7 +160,7 @@ { 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 @@ } } } -} \ No newline at end of file +}