mirror of
https://github.com/EssentialsX/Essentials.git
synced 2024-12-22 17:18:37 +01:00
Improve error messages in Backup
This commit is contained in:
parent
5f5d65c463
commit
0be056b9c2
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user