uce commented on a change in pull request #7668: [FLINK-11545] [container] Add 
job-id arg to StandaloneJobClusterEntryPoint
URL: https://github.com/apache/flink/pull/7668#discussion_r256769662
 
 

 ##########
 File path: 
flink-container/src/main/java/org/apache/flink/container/entrypoint/StandaloneJobClusterEntryPoint.java
 ##########
 @@ -78,8 +84,8 @@ public static void main(String[] args) {
 
                try {
                        clusterConfiguration = commandLineParser.parse(args);
-               } catch (FlinkParseException e) {
-                       LOG.error("Could not parse command line arguments {}.", 
args, e);
+               } catch (Throwable t) {
 
 Review comment:
   Should not make any difference here, but works for me. The important bit is 
that we want to have the log code path in order to have the error message in 
the log.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

Reply via email to