some error debugging and for frontend thicker lines around blocks
This commit is contained in:
@@ -102,8 +102,9 @@ public void select_user_session(int client)
|
||||
|
||||
public void SQL_FinishedQuerySelectUserSession(Database db, DBResultSet results, const char[] error, int Serial)
|
||||
{
|
||||
if (!db)
|
||||
if (!db || strlen(error))
|
||||
{
|
||||
LogError("Query error 3: %s", error);
|
||||
delete results;
|
||||
return;
|
||||
}
|
||||
@@ -168,8 +169,9 @@ public void upsert_player(int client)
|
||||
|
||||
public void SQL_FinishedQueryUpsertPlayerCallback(Database db, DBResultSet results, const char[] error, int Serial)
|
||||
{
|
||||
if (!db)
|
||||
if (!db || strlen(error))
|
||||
{
|
||||
LogError("Query error 3: %s", error);
|
||||
delete results;
|
||||
return;
|
||||
}
|
||||
@@ -205,8 +207,9 @@ public void upsert_name_history(int client)
|
||||
|
||||
public void SQL_FinishedQueryUpsertNameHistoryCallback(Database db, DBResultSet results, const char[] error, int Serial)
|
||||
{
|
||||
if (!db)
|
||||
if (!db || strlen(error))
|
||||
{
|
||||
LogError("Query error 3: %s", error);
|
||||
delete results;
|
||||
return;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user