commit | 2c2b76862c488b8237e8348fac5c1f19083ca5cb | [log] [tgz] |
---|---|---|
author | Thomas Vachuska <tom@onlab.us> | Tue May 05 11:59:21 2015 -0700 |
committer | Thomas Vachuska <tom@onlab.us> | Tue May 05 11:59:21 2015 -0700 |
tree | 249cef095e5b309bef29796919e3a5e95bcc017a | |
parent | 24a00d9b0ba1ecab6e821c83c90ca6661c13ac38 [diff] |
Reverted to catching Throwable for the netty native epoll stuff. Change-Id: I41cf621505cdcc3139fadb39a4ccacfe0123ef5c
diff --git a/utils/netty/src/main/java/org/onlab/netty/NettyMessagingManager.java b/utils/netty/src/main/java/org/onlab/netty/NettyMessagingManager.java index f550498..8d567eb 100644 --- a/utils/netty/src/main/java/org/onlab/netty/NettyMessagingManager.java +++ b/utils/netty/src/main/java/org/onlab/netty/NettyMessagingManager.java
@@ -102,7 +102,7 @@ serverChannelClass = EpollServerSocketChannel.class; clientChannelClass = EpollSocketChannel.class; return; - } catch (Exception e) { + } catch (Throwable e) { log.warn("Failed to initialize native (epoll) transport. Reason: {}. Proceeding with nio.", e.getMessage()); } clientGroup = new NioEventLoopGroup();