Simplify error logging

This commit is contained in:
Akkadius committed 2019-09-01 22:05:44 -05:00
1 parent 98cbb7d781
commit 678c25e02c
44 files changed
+532 -486

No files matched your search

+1 -1
View File
@@ -349,7 +349,7 @@ void Client::EnableTitle(int titleSet) {
CharacterID(), titleSet);
auto results = database.QueryDatabase(query);
if(!results.Success())
Log(Logs::General, Logs::Error, "Error in EnableTitle query for titleset %i and charid %i", titleSet, CharacterID());
LogError("Error in EnableTitle query for titleset [{}] and charid [{}]", titleSet, CharacterID());
}