Fix players not getting disconnected when server has run out of disk space

This commit is contained in:
UnknownShadow200 2018-07-20 17:54:16 +10:00
parent d9d189d969
commit 16a0a65947

View File

@ -91,7 +91,9 @@ namespace MCGalaxy.SQL {
}
}
File.AppendAllText("MySQL_error.log", DateTime.Now + " " + sql + "\r\n");
try {
File.AppendAllText("MySQL_error.log", DateTime.Now + " " + sql + "\r\n");
} catch { }
Logger.LogError(e);
return arg;
}