mirror of
https://github.com/AuthMe/AuthMeReloaded.git
synced 2024-11-17 07:45:10 +01:00
Log an error if the plugin is unable to create the log file.
This commit is contained in:
parent
e6f2eb487d
commit
58a6b6060f
@ -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 {
|
||||
|
Loading…
Reference in New Issue
Block a user