commit | 232f7bac04dd7214b155c8be3590e76ab668be41 | [log] [tgz] |
---|---|---|
author | Richard S. Hall <rickhall@apache.org> | Sat Jun 16 19:10:26 2012 +0000 |
committer | Richard S. Hall <rickhall@apache.org> | Sat Jun 16 19:10:26 2012 +0000 |
tree | 1d6cc716174db9b257633185e362d4c0d2f5fcef | |
parent | e714d699dc5ca3983bf591eb2560729a8a904267 [diff] |
Log any exceptions while activating deferred bundles. (FELIX-3306) git-svn-id: https://svn.apache.org/repos/asf/felix/trunk@1350984 13f79535-47bb-0310-9956-ffa450edef68
diff --git a/framework/src/main/java/org/apache/felix/framework/BundleWiringImpl.java b/framework/src/main/java/org/apache/felix/framework/BundleWiringImpl.java index 5ee1c1e..79de81c 100644 --- a/framework/src/main/java/org/apache/felix/framework/BundleWiringImpl.java +++ b/framework/src/main/java/org/apache/felix/framework/BundleWiringImpl.java
@@ -2215,9 +2215,12 @@ { felix.getFramework().activateBundle((BundleImpl) (lazy)[1], true); } - catch (BundleException ex) + catch (Throwable ex) { - ex.printStackTrace(); + m_logger.log((BundleImpl) (lazy)[1], + Logger.LOG_WARNING, + "Unable to lazily start bundle.", + ex); } } }