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
@@ -711,7 +711,7 @@ void Mob::MakeAura(uint16 spell_id)
AuraRecord record;
if (!database.GetAuraEntry(spell_id, record)) {
Message(Chat::Red, "Unable to find data for aura %s", spells[spell_id].name);
Log(Logs::General, Logs::Error, "Unable to find data for aura %d, check auras table.", spell_id);
LogError("Unable to find data for aura [{}], check auras table", spell_id);
return;
}