[CXF-6029] Debug log a throwable

Project: http://git-wip-us.apache.org/repos/asf/cxf/repo
Commit: http://git-wip-us.apache.org/repos/asf/cxf/commit/e5ca4a1d
Tree: http://git-wip-us.apache.org/repos/asf/cxf/tree/e5ca4a1d
Diff: http://git-wip-us.apache.org/repos/asf/cxf/diff/e5ca4a1d

Branch: refs/heads/3.0.x-fixes
Commit: e5ca4a1d5ab26679a757a0935fcaae4f43214d36
Parents: 3aecbd7
Author: Daniel Kulp <dk...@apache.org>
Authored: Fri Mar 24 11:13:22 2017 -0400
Committer: Daniel Kulp <dk...@apache.org>
Committed: Fri Mar 24 13:45:50 2017 -0400

----------------------------------------------------------------------
 .../main/java/org/apache/cxf/bus/spring/SpringBusFactory.java    | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cxf/blob/e5ca4a1d/core/src/main/java/org/apache/cxf/bus/spring/SpringBusFactory.java
----------------------------------------------------------------------
diff --git a/core/src/main/java/org/apache/cxf/bus/spring/SpringBusFactory.java 
b/core/src/main/java/org/apache/cxf/bus/spring/SpringBusFactory.java
index 04ea866..c4840ac 100644
--- a/core/src/main/java/org/apache/cxf/bus/spring/SpringBusFactory.java
+++ b/core/src/main/java/org/apache/cxf/bus/spring/SpringBusFactory.java
@@ -66,8 +66,8 @@ public class SpringBusFactory extends BusFactory {
             if (r != null && !r.isEmpty()) {
                 return r.get(0);
             }
-        } catch (Throwable t) {
-            //ignore
+        } catch (Exception t) {
+            LOG.log(Level.FINEST, "Could not find NamespaceHandlerResolver",  
t);
         }
         return null;
     }

Reply via email to