kl0u commented on a change in pull request #13911:
URL: https://github.com/apache/flink/pull/13911#discussion_r518618742



##########
File path: 
flink-clients/src/main/java/org/apache/flink/client/deployment/application/EmbeddedJobClient.java
##########
@@ -126,7 +126,8 @@ public JobID getJobID() {
                                        try {
                                                return 
jobResult.toJobExecutionResult(classLoader);
                                        } catch (Throwable t) {
-                                               throw new 
CompletionException(new Exception("Job " + jobId + " failed", t));
+                                               throw new CompletionException(
+                                                               
UnsuccessfulTerminationException.fromJobResult(jobResult, classLoader));

Review comment:
       I can open a separate issue and discuss it there.




----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to