mirror of
https://github.com/EQEmu/Server.git
synced 2026-11-26 07:30:48 +00:00
Simplify error logging
This commit is contained in:
1 parent
98cbb7d781
commit
678c25e02c
44 files changed
+532
-486
No files matched your search
+1
-1
@@ -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);
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user