Skip to content

Commit 0be056b

Browse files
committed
Improve error messages in Backup
1 parent 5f5d65c commit 0be056b

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

  • Essentials/src/main/java/com/earth2me/essentials

Essentials/src/main/java/com/earth2me/essentials/Backup.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -102,12 +102,12 @@ public void run() {
102102
} while (line != null);
103103
}
104104
} catch (final IOException ex) {
105-
ess.getLogger().log(Level.SEVERE, null, ex);
105+
ess.getLogger().log(Level.SEVERE, "An error occurred while reading backup child process", ex);
106106
}
107107
});
108108
child.waitFor();
109109
} catch (final InterruptedException | IOException ex) {
110-
ess.getLogger().log(Level.SEVERE, null, ex);
110+
ess.getLogger().log(Level.SEVERE, "An error occurred while building the backup child process", ex);
111111
} finally {
112112
class BackupEnableSaveTask implements Runnable {
113113
@Override

0 commit comments

Comments
 (0)