public void exceptionCaught(ChannelHandlerContext ctx, ExceptionEvent event) throws Exception {
LOGGER.warn("Exception {} thrown on Channel {}. Disconnect initiated",event,event.getChannel());
event.getChannel().close();
}
private ServerRequestInterceptor<TaskRequestWrapper, TaskResult> initializeServerTracing(TaskRequestWrapper executorRequest) {
<BUG>BraveContext serverTracingContext = new BraveContext();
RequestContext serverRequestContext = new RequestContext();
serverRequestContext.setRequestTracingContext(serverTracingContext);
executorRequest.setRequestContext(Optional.of(serverRequestContext));</BUG>
ServerRequestInterceptor<TaskRequestWrapper, TaskResult> serverRequestInterceptor = new ServerRequestInterceptor<TaskRequestWrapper, TaskResult>();

public void exceptionCaught(ChannelHandlerContext ctx, ExceptionEvent event) throws Exception {
LOGGER.warn("Exception {} thrown on Channel {}. Disconnect initiated",event,event.getChannel());
event.getChannel().close();
}
private ServerRequestInterceptor<TaskRequestWrapper, TaskResult> initializeServerTracing(TaskRequestWrapper executorRequest) {
ServerRequestInterceptor<TaskRequestWrapper, TaskResult> serverRequestInterceptor = new ServerRequestInterceptor<TaskRequestWrapper, TaskResult>();
