Log an error if the plugin is unable to create the log file.

This commit is contained in:
Gabriele C 2016-06-01 11:40:50 +02:00
parent e6f2eb487d
commit 58a6b6060f

View File

@ -44,7 +44,8 @@ public final class ConsoleLogger {
if (fileWriter == null) {
try {
fileWriter = new FileWriter(logFile, true);
} catch (IOException ignored) {
} catch (IOException e) {
ConsoleLogger.showError("Failed to create the log file:" + e);
}
}
} else {