You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "Lavkesh Lahngir (JIRA)" <ji...@apache.org> on 2019/01/24 07:24:00 UTC

[jira] [Created] (FLINK-11423) Propagate the error message from Main method to JarRunHandler

Lavkesh Lahngir created FLINK-11423:
---------------------------------------

             Summary: Propagate the error message from Main method to JarRunHandler
                 Key: FLINK-11423
                 URL: https://issues.apache.org/jira/browse/FLINK-11423
             Project: Flink
          Issue Type: Improvement
          Components: Job-Submission
            Reporter: Lavkesh Lahngir
            Assignee: Lavkesh Lahngir


The jar/run API calls JarRunHandler
The client only receives a simple message like "The main method caused an error"
without any more detail.
When we throw ProgramInvocationException in PackagedProgram.callMainMethod()
we should add exceptionInMethod.getMessage() too.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)