Reverted to catching Throwable for the netty native epoll stuff.
Change-Id: I41cf621505cdcc3139fadb39a4ccacfe0123ef5c
Showing
1 changed file
with
1 additions
and
1 deletions
... | @@ -102,7 +102,7 @@ public class NettyMessagingManager implements MessagingService { | ... | @@ -102,7 +102,7 @@ public class NettyMessagingManager implements MessagingService { |
102 | serverChannelClass = EpollServerSocketChannel.class; | 102 | serverChannelClass = EpollServerSocketChannel.class; |
103 | clientChannelClass = EpollSocketChannel.class; | 103 | clientChannelClass = EpollSocketChannel.class; |
104 | return; | 104 | return; |
105 | - } catch (Exception e) { | 105 | + } catch (Throwable e) { |
106 | log.warn("Failed to initialize native (epoll) transport. Reason: {}. Proceeding with nio.", e.getMessage()); | 106 | log.warn("Failed to initialize native (epoll) transport. Reason: {}. Proceeding with nio.", e.getMessage()); |
107 | } | 107 | } |
108 | clientGroup = new NioEventLoopGroup(); | 108 | clientGroup = new NioEventLoopGroup(); | ... | ... |
-
Please register or login to post a comment