Github user aljoscha commented on a diff in the pull request: https://github.com/apache/flink/pull/659#discussion_r29854771 --- Diff: flink-staging/flink-streaming/flink-streaming-core/src/main/java/org/apache/flink/streaming/api/operators/co/CoStreamWindow.java --- @@ -174,21 +178,17 @@ public String toString() { } @Override - public void close() { + public void close() throws Exception { if (!window.miniBatchEnd()) { - callUserFunctionAndLogException(); + try { + callUserFunction(); + } catch (Exception e) { + throw new RuntimeException("Could not call user function in CoStreamWindow.close()"); --- End diff -- done
--- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not have this feature enabled and wishes so, or if the feature is enabled but not working, please contact infrastructure at infrastruct...@apache.org or file a JIRA ticket with INFRA. ---