Skip to content

Commit

Permalink
add error reporting for failed charxml (#1642)
Browse files Browse the repository at this point in the history
  • Loading branch information
EmosewaMC authored Nov 18, 2024
1 parent 677e7c1 commit 008e2d4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dGame/Character.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ void Character::DoQuickXMLDataParse() {
if (m_Doc.Parse(m_XMLData.c_str(), m_XMLData.size()) == 0) {
LOG("Loaded xmlData for character %s (%i)!", m_Name.c_str(), m_ID);
} else {
LOG("Failed to load xmlData!");
LOG("Failed to load xmlData (%i) (%s) (%s)!", m_Doc.ErrorID(), m_Doc.ErrorIDToName(m_Doc.ErrorID()), m_Doc.ErrorStr());
//Server::rakServer->CloseConnection(m_ParentUser->GetSystemAddress(), true);
return;
}
Expand Down

0 comments on commit 008e2d4

Please sign in to comment.