[ https://issues.apache.org/jira/browse/FLINK-11423?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Chesnay Schepler updated FLINK-11423: ------------------------------------- Summary: Keep exception message thrown from the main class (was: Propagate the error message from Main method to JarRunHandler) > Keep exception message thrown from the main class > -------------------------------------------------- > > 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 > Priority: Major > Labels: pull-request-available > Fix For: 1.8.0 > > Time Spent: 20m > Remaining Estimate: 0h > > 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)