You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@flink.apache.org by "Till Rohrmann (JIRA)" <ji...@apache.org> on 2017/03/14 16:27:41 UTC
[jira] [Created] (FLINK-6050) Improve failure reporting when using
Future.thenAccept
Till Rohrmann created FLINK-6050:
------------------------------------
Summary: Improve failure reporting when using Future.thenAccept
Key: FLINK-6050
URL: https://issues.apache.org/jira/browse/FLINK-6050
Project: Flink
Issue Type: Improvement
Components: Distributed Coordination
Affects Versions: 1.3.0
Reporter: Till Rohrmann
Assignee: Till Rohrmann
Priority: Minor
When applying {{Future.thenAccept(Async)}} onto a {{Future}}, then we should register the exception handler on the returned {{Future<Void>}} and not on the original future. This has the advantage that we also catch exceptions which are thrown in the {{AcceptFunction}} and not only those originating from the original {{Future}}. This improve Flink's behaviour, because exceptions are not swallowed in the returned {{Future}}.
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)