Fix CLI mode not logging error to disc if an error occurs on server startup. (Thanks Odd0002)

This commit is contained in:
UnknownShadow200 2018-01-07 13:58:26 +11:00
parent d55d4c954a
commit 929931b617

View File

@ -59,6 +59,7 @@ namespace MCGalaxy.Cli {
ConsoleLoop();
} catch (Exception e) {
Logger.LogError(e);
FileLogger.Flush(null);
}
}