This is an automated email from the ASF dual-hosted git repository.

mkevo pushed a commit to branch develop
in repository https://gitbox.apache.org/repos/asf/geode.git


The following commit(s) were added to refs/heads/develop by this push:
     new 509240f  GEODE-7989: Improve backup exceptions logging (#4967)
509240f is described below

commit 509240f8deecb1361aaf2a3cd041b01d87d65540
Author: Jakov Varenina <62134331+jvaren...@users.noreply.github.com>
AuthorDate: Mon Apr 20 14:53:12 2020 +0200

    GEODE-7989: Improve backup exceptions logging (#4967)
    
    * GEODE-7989: Improve backup execeptions logging
    
    Log as warning exception that causes backup execution to fail
    
    * InterruptedException logged as warn
    
    * empty commit to re-launch CI
---
 .../main/java/org/apache/geode/internal/cache/backup/BackupService.java  | 1 +
 1 file changed, 1 insertion(+)

diff --git 
a/geode-core/src/main/java/org/apache/geode/internal/cache/backup/BackupService.java
 
b/geode-core/src/main/java/org/apache/geode/internal/cache/backup/BackupService.java
index fb36eb9..4e9cc14 100644
--- 
a/geode-core/src/main/java/org/apache/geode/internal/cache/backup/BackupService.java
+++ 
b/geode-core/src/main/java/org/apache/geode/internal/cache/backup/BackupService.java
@@ -74,6 +74,7 @@ public class BackupService {
     try {
       result = taskFuture.get();
     } catch (InterruptedException | ExecutionException e) {
+      logger.warn("Backup failed with exception: ", e);
       result = new HashSet<>();
     } finally {
       cleanup();

Reply via email to