mirror of
https://github.com/EQEmu/Server.git
synced 2026-05-22 12:18:27 +00:00
Move status log calls to use LogInfo
This commit is contained in:
+2
-2
@@ -93,11 +93,11 @@ MySQLRequestResult DBcore::QueryDatabase(const char *query, uint32 querylen, boo
|
||||
if (errorNumber == CR_SERVER_LOST || errorNumber == CR_SERVER_GONE_ERROR) {
|
||||
|
||||
if (retryOnFailureOnce) {
|
||||
Log(Logs::General, Logs::Status, "Database Error: Lost connection, attempting to recover...");
|
||||
LogInfo("Database Error: Lost connection, attempting to recover");
|
||||
MySQLRequestResult requestResult = QueryDatabase(query, querylen, false);
|
||||
|
||||
if (requestResult.Success()) {
|
||||
Log(Logs::General, Logs::Status, "Reconnection to database successful");
|
||||
LogInfo("Reconnection to database successful");
|
||||
return requestResult;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user