You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by tillrohrmann <gi...@git.apache.org> on 2017/07/01 16:27:56 UTC

[GitHub] flink pull request #4001: [FLINK-5476] Fail fast if trying to submit a job t...

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

    https://github.com/apache/flink/pull/4001#discussion_r125163883
  
    --- Diff: flink-clients/src/main/java/org/apache/flink/client/program/StandaloneClusterClient.java ---
    @@ -70,6 +76,8 @@ public GetClusterStatusResponse getClusterStatus() {
     			} else {
     				throw new RuntimeException("Received the wrong reply " + result + " from cluster.");
     			}
    +		} catch (FlinkRuntimeException | FlinkException e) {
    --- End diff --
    
    Why catching a `FlinkRuntimeException` and wrapping it in a `FlinkRuntimeException`?


---
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 infrastructure@apache.org or file a JIRA ticket
with INFRA.
---