Reverting previous change since it is not clear it is the issues. (FELIX-1124)


git-svn-id: https://svn.apache.org/repos/asf/felix/trunk@773901 13f79535-47bb-0310-9956-ffa450edef68
diff --git a/framework/src/main/java/org/apache/felix/framework/searchpolicy/ModuleImpl.java b/framework/src/main/java/org/apache/felix/framework/searchpolicy/ModuleImpl.java
index cc1c7cf..5dee8b9 100644
--- a/framework/src/main/java/org/apache/felix/framework/searchpolicy/ModuleImpl.java
+++ b/framework/src/main/java/org/apache/felix/framework/searchpolicy/ModuleImpl.java
@@ -495,7 +495,8 @@
         {
             m_logger.log(
                 Logger.LOG_DEBUG,
-                ex.getMessage());
+                ex.getMessage(),
+                ex);
         }
         return null;
     }