FangYongs commented on code in PR #22882:
URL: https://github.com/apache/flink/pull/22882#discussion_r1248422378


##########
flink-runtime/src/main/java/org/apache/flink/runtime/rest/handler/AbstractHandler.java:
##########
@@ -268,12 +266,7 @@ private CompletableFuture<Void> handleException(
                     HttpResponseStatus.SERVICE_UNAVAILABLE,
                     responseHeaders);
         } else {
-            if (throwable instanceof UnavailableDispatcherOperationException
-                    || throwable instanceof FileNotFoundException) {
-                log.debug("Job is not initialized or is finished: {}", 
throwable.getMessage());
-            } else {
-                log.error("Unhandled exception.", throwable);
-            }
+            log.error("Unhandled exception.", throwable);

Review Comment:
   The original here is just `log.error("Unhandled exception.", throwable)` 
before we want to fix FLIP-32370, so it's right here to delete the `if ... else 
...`



-- 
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.

To unsubscribe, e-mail: [email protected]

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

Reply via email to