Github user tillrohrmann commented on a diff in the pull request:

    https://github.com/apache/flink/pull/5312#discussion_r162689030
  
    --- Diff: 
flink-runtime/src/main/java/org/apache/flink/runtime/rest/RestClient.java ---
    @@ -251,6 +245,12 @@ protected void channelRead0(ChannelHandlerContext ctx, 
Object msg) {
                        ctx.close();
                }
     
    +           @Override
    +           public void exceptionCaught(final ChannelHandlerContext ctx, 
final Throwable cause) throws Exception {
    +                   jsonFuture.completeExceptionally(cause);
    --- End diff --
    
    Nice catch :-)


---

Reply via email to