Improve error messages in Backup

This commit is contained in:
Josh Roy 2022-08-18 13:40:23 -04:00
parent 5f5d65c463
commit 0be056b9c2

View File

@ -102,12 +102,12 @@ public class Backup implements Runnable {
} while (line != null);
}
} catch (final IOException ex) {
ess.getLogger().log(Level.SEVERE, null, ex);
ess.getLogger().log(Level.SEVERE, "An error occurred while reading backup child process", ex);
}
});
child.waitFor();
} catch (final InterruptedException | IOException ex) {
ess.getLogger().log(Level.SEVERE, null, ex);
ess.getLogger().log(Level.SEVERE, "An error occurred while building the backup child process", ex);
} finally {
class BackupEnableSaveTask implements Runnable {
@Override