kl0u commented on a change in pull request #7385: [hotfix]Fix some logging 
statements which can not correctly record the behaviors
URL: https://github.com/apache/flink/pull/7385#discussion_r255347572
 
 

 ##########
 File path: 
flink-runtime/src/main/java/org/apache/flink/runtime/jobmaster/JobMaster.java
 ##########
 @@ -759,7 +759,7 @@ public void declineCheckpoint(DeclineCheckpoint decline) {
 
                                return 
CompletableFuture.completedFuture(Acknowledge.get());
                        } catch (Exception e) {
-                               log.error("Failed to notify KvStateRegistry 
about registration {}.", registrationName);
+                               log.error("Failed to notify KvStateRegistry 
about registration {}.", registrationName, e);
 
 Review comment:
   I think adding the exception logging is correct. It is logged at `error` 
level so it is the right thing to do I suppose.

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