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
@@ -435,7 +435,7 @@ bool Client::TrainDiscipline(uint32 itemid) {
const EQEmu::ItemData *item = database.GetItem(itemid);
if(item == nullptr) {
Message(Chat::Red, "Unable to find the tome you turned in!");
Log(Logs::General, Logs::Error, "Unable to find turned in tome id %lu\n", (unsigned long)itemid);
LogError("Unable to find turned in tome id [{}]\n", (unsigned long)itemid);
return(false);
}