mirror of
https://github.com/EssentialsX/Essentials.git
synced 2025-01-18 14:11:40 +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);
|
} while (line != null);
|
||||||
}
|
}
|
||||||
} catch (final IOException ex) {
|
} 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();
|
child.waitFor();
|
||||||
} catch (final InterruptedException | IOException ex) {
|
} 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 {
|
} finally {
|
||||||
class BackupEnableSaveTask implements Runnable {
|
class BackupEnableSaveTask implements Runnable {
|
||||||
@Override
|
@Override
|
||||||
|
Loading…
Reference in New Issue
Block a user